mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fixes #1897
This commit is contained in:
parent
8f5e2eb439
commit
b36d42811a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user