mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 08:23:20 +02:00
code cleanup
This commit is contained in:
parent
81f8cf6244
commit
bceb8e573a
3 changed files with 13 additions and 6 deletions
|
@ -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)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue