This commit is contained in:
Jesse Boyd 2018-03-12 17:26:40 +11:00
parent 8f5e2eb439
commit b36d42811a
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -450,7 +450,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
if (!(passenger instanceof Player) && entity.getMetadata("keep").isEmpty()) {
iterator.remove();
entity.remove();
entity = null;
continue;
}
}
} else {
@ -458,7 +458,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
if (!(passenger instanceof Player) && entity.getMetadata("keep").isEmpty()) {
iterator.remove();
entity.remove();
entity = null;
continue;
}
}
}