mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 13:33:11 +00:00
Fix for sponge
This commit is contained in:
parent
74a967b535
commit
0c4b703510
66 changed files with 1266 additions and 1198 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue