Increased effective range for claim tools.
To 100 blocks from 50.
This commit is contained in:
parent
b7cd2bd943
commit
aa2f9121f3
|
|
@ -1051,7 +1051,7 @@ class PlayerEventHandler implements Listener
|
||||||
if(action == Action.RIGHT_CLICK_AIR && (itemInHand == Material.STICK || itemInHand == Material.GOLD_SPADE))
|
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
|
//try to find a far away non-air block along line of sight
|
||||||
clickedBlock = getTargetBlock(player, 50);
|
clickedBlock = getTargetBlock(player, 100);
|
||||||
clickedBlockType = clickedBlock.getType();
|
clickedBlockType = clickedBlock.getType();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user