aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-18 16:14:10 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-18 16:14:10 +0100
commit59153335492f16d1220e2ce6057bfa5c204c4e0d (patch)
tree435aacbfac9e930de530ada61c51ee9fedfcf4df /src/main/java
parent72153ec78a94bcedd26e9087b4f5713f2bcf69c7 (diff)
downloadskyhanni-59153335492f16d1220e2ce6057bfa5c204c4e0d.tar.gz
skyhanni-59153335492f16d1220e2ce6057bfa5c204c4e0d.tar.bz2
skyhanni-59153335492f16d1220e2ce6057bfa5c204c4e0d.zip
code cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/FixGhostEntities.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/FixGhostEntities.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/FixGhostEntities.kt
index acd68022c..bb273efe7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/FixGhostEntities.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/FixGhostEntities.kt
@@ -40,7 +40,7 @@ object FixGhostEntities {
}
} else if (packet is S13PacketDestroyEntities) {
for (entityID in packet.entityIDs) {
- recentlyRemovedEntities.add(entityID)
+ recentlyRemovedEntities.addLast(entityID)
if (recentlyRemovedEntities.size == 10) {
recentlyRemovedEntities.removeFirst()
}