"Too far away" with stick reverts visualizations.
Used to leave current visualization in place. This is clearer, and gives players a handy strategy for erasing visualizations when standing inside a large claim - just point up at the sky and right click.
This commit is contained in:
parent
aa2f9121f3
commit
f2634fa464
|
|
@ -1253,6 +1253,7 @@ class PlayerEventHandler implements Listener
|
||||||
if(clickedBlockType == Material.AIR)
|
if(clickedBlockType == Material.AIR)
|
||||||
{
|
{
|
||||||
GriefPrevention.sendMessage(player, TextMode.Err, Messages.TooFarAway);
|
GriefPrevention.sendMessage(player, TextMode.Err, Messages.TooFarAway);
|
||||||
|
Visualization.Revert(player);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user