"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:
ryanhamshire 2014-10-16 19:57:56 -07:00
parent aa2f9121f3
commit f2634fa464

View File

@ -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;
} }