mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03:22 +02:00
better comments
This commit is contained in:
parent
ba77aa9d40
commit
720b6b98c8
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ public class Data {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* a list of players who just joined, to check if they are mounted to a Sit! entity
|
* a list of players that need a sit entity spawned for them, on the server loop to stop crashing with other mods (ASYNC)
|
||||||
*/
|
*/
|
||||||
private static final HashMap<ServerPlayerEntity, DisplayEntity.TextDisplayEntity> spawnList = new HashMap<>();
|
private static final HashMap<ServerPlayerEntity, DisplayEntity.TextDisplayEntity> spawnList = new HashMap<>();
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class Logic {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* removes the entity from the game, using the player
|
* removes the entity bound to the player from the game, using the player
|
||||||
*/
|
*/
|
||||||
public static void removeEntity(ServerPlayerEntity player) {
|
public static void removeEntity(ServerPlayerEntity player) {
|
||||||
DisplayEntity.TextDisplayEntity entity = FileData.getSitEntity(player);
|
DisplayEntity.TextDisplayEntity entity = FileData.getSitEntity(player);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue