This commit is contained in:
Tofaa 2024-02-11 23:06:21 +04:00
commit 4bf35da867

View file

@ -35,6 +35,13 @@ public class WrapperEntity implements Tickable {
this.entityId = entityId;
}
/**
Internally sets the location of this entity. This does not inform any of the entities viewers about this change.
*/
public void setLocation(Location location) {
this.location = location;
}
public void refresh() {
if (!spawned) return;
sendPacketToViewers(meta.createPacket());