mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Remove distance limit from te sync, just send to all trackers. Should fix the ghost sparkles on the pure daisy and other issues.
This commit is contained in:
1 parent
8a8046ae81
commit
45bca55d9a
1 file changed
-1
@@ -27,7 +27,6 @@ public final class VanillaPacketDispatcher {
|
||||
if(packet != null && tile.getWorld() instanceof ServerWorld) {
|
||||
((ServerChunkProvider)tile.getWorld().getChunkProvider()).chunkManager
|
||||
.getTrackingPlayers(new ChunkPos(pos), false)
|
||||
.filter(p -> p.getDistanceSq(pos.getX(), pos.getY(), pos.getZ()) < 64 * 64)
|
||||
.forEach(e -> e.connection.sendPacket(packet));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user