Increased effective range for claim tools.

To 100 blocks from 50.
This commit is contained in:
ryanhamshire 2014-10-16 19:55:46 -07:00
parent b7cd2bd943
commit aa2f9121f3

View File

@ -1051,7 +1051,7 @@ class PlayerEventHandler implements Listener
if(action == Action.RIGHT_CLICK_AIR && (itemInHand == Material.STICK || itemInHand == Material.GOLD_SPADE))
{
//try to find a far away non-air block along line of sight
clickedBlock = getTargetBlock(player, 50);
clickedBlock = getTargetBlock(player, 100);
clickedBlockType = clickedBlock.getType();
}