Only use double chest selection when in single block mode

This commit is contained in:
Robin Kupper
2011-07-04 12:50:01 +02:00
parent ce1b4a6190
commit 8ef03a93c6

View File

@@ -46,7 +46,7 @@ class LBToolListener extends PlayerListener
params.sel = null;
if (type == toolblockID && action == Action.RIGHT_CLICK_BLOCK)
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());
else {
for (final BlockFace face : orientations)