mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 03:57:50 +01:00
Revert "Automatically set the new instance of an entity when adding it to an instance"
This reverts commit 2fd7f2b3
This commit is contained in:
parent
edbc189b98
commit
4ca4631f8a
@ -274,8 +274,6 @@ public abstract class Instance implements BlockModifier, DataContainer {
|
||||
lastInstance.removeEntity(entity); // If entity is in another instance, remove it from there and add it to this
|
||||
}
|
||||
|
||||
entity.setInstance(this);
|
||||
|
||||
long[] visibleChunksEntity = ChunkUtils.getChunksInRange(entity.getPosition(), MinecraftServer.ENTITY_VIEW_DISTANCE);
|
||||
boolean isPlayer = entity instanceof Player;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user