From 720b6b98c82ec3a39495c145070aded38d47e489 Mon Sep 17 00:00:00 2001 From: Oth3r Date: Thu, 29 Aug 2024 16:28:46 -0500 Subject: [PATCH] better comments --- src/main/java/one/oth3r/sit/utl/Data.java | 2 +- src/main/java/one/oth3r/sit/utl/Logic.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/one/oth3r/sit/utl/Data.java b/src/main/java/one/oth3r/sit/utl/Data.java index 524fd7f..f62b7c8 100644 --- a/src/main/java/one/oth3r/sit/utl/Data.java +++ b/src/main/java/one/oth3r/sit/utl/Data.java @@ -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 spawnList = new HashMap<>(); diff --git a/src/main/java/one/oth3r/sit/utl/Logic.java b/src/main/java/one/oth3r/sit/utl/Logic.java index 46bd757..25f48ec 100644 --- a/src/main/java/one/oth3r/sit/utl/Logic.java +++ b/src/main/java/one/oth3r/sit/utl/Logic.java @@ -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) { DisplayEntity.TextDisplayEntity entity = FileData.getSitEntity(player);