2.1.4 update

This commit is contained in:
mlus 2025-11-22 22:59:23 +08:00
parent c2d5d37d30
commit f39a64bf14

View File

@ -142,8 +142,8 @@ public class VanillaSync {
try {
String player_uuid = event.getProfile().getId().toString();
PlayerSync.LOGGER.info("Detected connection from player" + player_uuid + ",starting checking");
boolean online = false;
int lastServer = -1;
boolean online;
int lastServer;
// 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 + "'");
@ -410,8 +410,7 @@ public class VanillaSync {
dynamicTagInput,
snbtDataVersion,
currentDataVersion);
CompoundTag compoundTag = (CompoundTag) updatedDynamicTag.getValue();
return compoundTag;
return (CompoundTag) updatedDynamicTag.getValue();
}
/**