mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-22 10:15:43 +01:00
Fix for teleport handler
This commit is contained in:
parent
f341558060
commit
d09a84277d
@ -74,6 +74,7 @@ public class TeleportHandler {
|
||||
if (nextHopper.getSyncedBlock() != null) {
|
||||
next = nextHopper.getSyncedBlock();
|
||||
}
|
||||
if (nextHopper == hopper) break;
|
||||
if (!next.getType().equals(Material.HOPPER)) {
|
||||
instance.getHopperManager().removeHopper(nextHopper.getLocation());
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user