mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
Fixes #522
This commit is contained in:
@ -293,7 +293,10 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
|
||||
}
|
||||
Location loc = entity.getLocation();
|
||||
if (MainUtil.isPlotRoad(BukkitUtil.getLocation(loc))) {
|
||||
entity.remove();
|
||||
Entity passenger = entity.getPassenger();
|
||||
if (!(passenger instanceof Player)) {
|
||||
entity.remove();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user