From 9c3d9696959d6f4d95cb8171163c2a101f53f295 Mon Sep 17 00:00:00 2001 From: Dico200 Date: Sat, 31 Oct 2015 15:52:03 +0100 Subject: [PATCH] Fixed signalstrength error and minor change --- signalstrength.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signalstrength.py b/signalstrength.py index b264143..d51f35a 100644 --- a/signalstrength.py +++ b/signalstrength.py @@ -93,7 +93,7 @@ def get_entire_container(container): world.getBlockAt(x - 1, y, z), world.getBlockAt(x, y, z + 1), world.getBlockAt(x, y, z - 1), - ) if block.getType() == target_type + ) if block.getType() == container_type ] return container_blocks @@ -101,7 +101,7 @@ def get_entire_container(container): @simplecommand("signalstrength", - usage = "( [item] [data]) or (default [data])", + usage = "(default) [signalstrength] [item] [data]", aliases = ["ss", "level"], description = "Fills the targeted container with the correct amount of items to achieve the desired signal strength.", amin = 0,