Fix for sponge

This commit is contained in:
Jesse Boyd 2015-10-07 17:33:33 +11:00
parent 74a967b535
commit 0c4b703510
66 changed files with 1266 additions and 1198 deletions

View file

@ -301,7 +301,9 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
if (MainUtil.isPlotRoad(BukkitUtil.getLocation(loc))) {
final Entity passenger = entity.getPassenger();
if (!(passenger instanceof Player)) {
entity.remove();
if (entity.getMetadata("keep").size() == 0) {
entity.remove();
}
}
}
break;