Fix sponge player uuid table corruption
This commit is contained in:
1 parent
d14c89be59
commit
29947f14a7
1 file changed
+1
+1
@@ -416,6 +416,7 @@ public abstract class PrimaryLevelDataMixin implements WorldData, PrimaryLevelDa
|
||||
|
||||
final ListTag playerIdList = new ListTag();
|
||||
data.put(Constants.Sponge.SPONGE_PLAYER_UUID_TABLE, playerIdList);
|
||||
this.impl$playerUniqueIdMap.values().forEach(uuid -> playerIdList.add(new IntArrayTag(SerializableUUID.uuidToIntArray(uuid))));
|
||||
this.impl$pendingUniqueIds.forEach(uuid -> playerIdList.add(new IntArrayTag(SerializableUUID.uuidToIntArray(uuid))));
|
||||
this.impl$pendingUniqueIds.clear();
|
||||
|
||||
|
||||
Reference in new issue
Block a user