diff options
author | Dico200 <dico.karssiens@gmail.com> | 2015-10-31 15:52:03 +0100 |
---|---|---|
committer | Dico200 <dico.karssiens@gmail.com> | 2015-10-31 15:52:03 +0100 |
commit | 9c3d9696959d6f4d95cb8171163c2a101f53f295 (patch) | |
tree | 7140e88919a61fdc953d2d3c31e527df56d05d9e | |
parent | b4f5a68e4e3ba4993e8326d2f11f9582933b694e (diff) |
Fixed signalstrength error and minor change
-rw-r--r-- | signalstrength.py | 4 |
1 files 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 = "(<signal strength> [item] [data]) or (default <item> [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, |