mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-06-26 06:35:00 +02:00
Fixed issue.
This commit is contained in:
parent
196849be81
commit
8e66ffa758
|
@ -138,8 +138,6 @@ public class HopTask extends BukkitRunnable {
|
|||
continue main;
|
||||
}
|
||||
} else {
|
||||
if (hopper.getFilter().getEndPoint() == null) continue;
|
||||
|
||||
doBlacklist(hopperInventory, hopper, hopperContents[i].clone(), amount, i);
|
||||
continue main;
|
||||
}
|
||||
|
@ -151,6 +149,7 @@ public class HopTask extends BukkitRunnable {
|
|||
|
||||
private void doBlacklist(Inventory hopperInventory, com.songoda.epichoppers.api.hopper.Hopper hopper, ItemStack item, int amt, int place) {
|
||||
Location dest = hopper.getFilter().getEndPoint();
|
||||
if (hopper.getFilter().getEndPoint() == null) return;
|
||||
if (!dest.getWorld().isChunkLoaded(dest.getBlockX() >> 4, dest.getBlockZ() >> 4))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user