Don't update neighbors in markDirty, it's not needed.
This commit is contained in:
@@ -116,6 +116,14 @@ public abstract class TileBase extends TileEntity {
|
||||
return null;
|
||||
}
|
||||
|
||||
// @Volatile: Copied with some changes from the super method (avoid sending neighbor updates, it's not needed)
|
||||
@Override
|
||||
public void markDirty() {
|
||||
if (world != null) {
|
||||
world.markChunkDirty(pos, this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
return o instanceof TileBase && ((TileBase) o).getPos().equals(pos) && ((TileBase) o).world.provider.getDimension() == world.provider.getDimension();
|
||||
|
Reference in New Issue
Block a user