2.1.4 update
This commit is contained in:
parent
c2d5d37d30
commit
f39a64bf14
|
|
@ -142,8 +142,8 @@ public class VanillaSync {
|
||||||
try {
|
try {
|
||||||
String player_uuid = event.getProfile().getId().toString();
|
String player_uuid = event.getProfile().getId().toString();
|
||||||
PlayerSync.LOGGER.info("Detected connection from player" + player_uuid + ",starting checking");
|
PlayerSync.LOGGER.info("Detected connection from player" + player_uuid + ",starting checking");
|
||||||
boolean online = false;
|
boolean online;
|
||||||
int lastServer = -1;
|
int lastServer;
|
||||||
|
|
||||||
// First query: check basic player data and check whether player can join into server.
|
// First query: check basic player data and check whether player can join into server.
|
||||||
JDBCsetUp.QueryResult qr1 = JDBCsetUp.executeQuery("SELECT online, last_server FROM player_data WHERE uuid='" + player_uuid + "'");
|
JDBCsetUp.QueryResult qr1 = JDBCsetUp.executeQuery("SELECT online, last_server FROM player_data WHERE uuid='" + player_uuid + "'");
|
||||||
|
|
@ -410,8 +410,7 @@ public class VanillaSync {
|
||||||
dynamicTagInput,
|
dynamicTagInput,
|
||||||
snbtDataVersion,
|
snbtDataVersion,
|
||||||
currentDataVersion);
|
currentDataVersion);
|
||||||
CompoundTag compoundTag = (CompoundTag) updatedDynamicTag.getValue();
|
return (CompoundTag) updatedDynamicTag.getValue();
|
||||||
return compoundTag;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user