This commit is contained in:
boy0001 2015-08-09 03:27:18 +10:00
parent f6fb7482e1
commit 051449157a

View File

@ -293,8 +293,11 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
}
Location loc = entity.getLocation();
if (MainUtil.isPlotRoad(BukkitUtil.getLocation(loc))) {
Entity passenger = entity.getPassenger();
if (!(passenger instanceof Player)) {
entity.remove();
}
}
break;
}
}