code cleanup

This commit is contained in:
Oth3r 2024-10-19 17:54:35 -05:00
commit bceb8e573a
3 changed files with 13 additions and 6 deletions

View file

@ -68,6 +68,7 @@ public class Data {
/**
* a list of players who just joined, to check if they are mounted to a Sit! entity
* (they don't load in on the player join event for some reason)
*/
private static final HashMap<ServerPlayerEntity, Integer> checkPlayers = new HashMap<>();
@ -83,6 +84,7 @@ public class Data {
return new HashMap<>(checkPlayers);
}
/**
* a list of players that need a sit entity spawned for them, on the server loop to stop crashing with other mods (ASYNC)
*/