mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-02 08:50:17 +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()) {
|
if (!(passenger instanceof Player) && entity.getMetadata("keep").isEmpty()) {
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
entity.remove();
|
entity.remove();
|
||||||
entity = null;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -458,7 +458,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
|||||||
if (!(passenger instanceof Player) && entity.getMetadata("keep").isEmpty()) {
|
if (!(passenger instanceof Player) && entity.getMetadata("keep").isEmpty()) {
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
entity.remove();
|
entity.remove();
|
||||||
entity = null;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user