diff --git a/common/src/main/java/com/viaversion/viarewind/protocol/v1_8to1_7_6_10/storage/EntityTracker1_8.java b/common/src/main/java/com/viaversion/viarewind/protocol/v1_8to1_7_6_10/storage/EntityTracker1_8.java index 69d032097..8bcb2ca64 100644 --- a/common/src/main/java/com/viaversion/viarewind/protocol/v1_8to1_7_6_10/storage/EntityTracker1_8.java +++ b/common/src/main/java/com/viaversion/viarewind/protocol/v1_8to1_7_6_10/storage/EntityTracker1_8.java @@ -189,13 +189,13 @@ public void setClientEntityGameMode(int clientEntityGameMode) { } public void updateEntityData(List entityData) { - entityData.removeIf(first -> entityData.stream().anyMatch(second -> first.id() == second.id())); + this.entityData.removeIf(first -> entityData.stream().anyMatch(second -> first.id() == second.id())); for (final EntityData data : entityData) { final Object value = data.value(); if (value instanceof Item item) { - entityData.add(new EntityData(data.id(), data.dataType(), item.copy())); + this.entityData.add(new EntityData(data.id(), data.dataType(), item.copy())); } else { - entityData.add(new EntityData(data.id(), data.dataType(), value)); + this.entityData.add(new EntityData(data.id(), data.dataType(), value)); } } }