mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-18 22:24:39 +00:00
Fixes #1844
This commit is contained in:
parent
8815c83ba1
commit
4b50276ba0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue