Fix for teleport handler

This commit is contained in:
Brianna O'Keefe 2018-09-27 21:22:33 -04:00
parent f341558060
commit d09a84277d

View File

@ -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;