mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-25 00:51:26 +01:00
Fixed blacklist error.
This commit is contained in:
parent
ecc75d13cc
commit
a72095a9fa
@ -161,6 +161,7 @@ public class HopHandler {
|
||||
private void doBlacklist(Hopper hopperState, com.songoda.epichoppers.api.hopper.Hopper hopper, ItemStack item, int amt, int place) {
|
||||
try {
|
||||
Location dest = hopper.getFilter().getEndPoint();
|
||||
if (dest == null) return;
|
||||
if (!dest.getWorld().isChunkLoaded(dest.getBlockX() >> 4, dest.getBlockZ() >> 4))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user