mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-10 09:57:45 +01:00
bit shifting
This commit is contained in:
parent
be648a4891
commit
a4c4d41cc6
@ -76,8 +76,8 @@ public class HopHandler {
|
||||
for (Location destinationLocation : hopper.getLinkedBlocks()) {
|
||||
if (destinationLocation == null) continue;
|
||||
|
||||
if (!destinationLocation.getWorld().isChunkLoaded(destinationLocation.getBlockX(),
|
||||
destinationLocation.getBlockZ()))
|
||||
if (!destinationLocation.getWorld().isChunkLoaded(destinationLocation.getBlockX() >> 4,
|
||||
destinationLocation.getBlockZ() >> 4))
|
||||
continue;
|
||||
|
||||
Block destinationBlock = destinationLocation.getBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user