forked from LogBlock/LogBlock
Only use double chest selection when in single block mode
This commit is contained in:
@@ -46,7 +46,7 @@ class LBToolListener extends PlayerListener
|
|||||||
params.sel = null;
|
params.sel = null;
|
||||||
if (type == toolblockID && action == Action.RIGHT_CLICK_BLOCK)
|
if (type == toolblockID && action == Action.RIGHT_CLICK_BLOCK)
|
||||||
params.setLocation(block.getFace(event.getBlockFace()).getLocation());
|
params.setLocation(block.getFace(event.getBlockFace()).getLocation());
|
||||||
else if (event.getClickedBlock().getTypeId() != 54)
|
else if (block.getTypeId() != 54 || params.radius != 0)
|
||||||
params.setLocation(block.getLocation());
|
params.setLocation(block.getLocation());
|
||||||
else {
|
else {
|
||||||
for (final BlockFace face : orientations)
|
for (final BlockFace face : orientations)
|
||||||
|
Reference in New Issue
Block a user