mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Fixes #1844
This commit is contained in:
parent
8815c83ba1
commit
4b50276ba0
@ -1269,7 +1269,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
if (event.getBlock().getType() == Material.DROPPER) return;
|
if (event.getBlock().getType() == Material.DROPPER) return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Location location = BukkitUtil.getLocation(event.getVelocity().toLocation(event.getBlock().getWorld()));
|
Location location = BukkitUtil.getLocation(event.getBlock().getLocation());
|
||||||
if (location.isPlotRoad()) {
|
if (location.isPlotRoad()) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user