summaryrefslogtreecommitdiff
path: root/blockplacemods.py
diff options
context:
space:
mode:
authorDico200 <dico.karssiens@gmail.com>2015-05-18 23:32:57 +0200
committerDico200 <dico.karssiens@gmail.com>2015-05-18 23:32:57 +0200
commitfb3e4afe3cc82f5d734dd9642bd9c5a0c6cc23c4 (patch)
tree0a25d75ca277fe565f22161c1c8ff80ec93aa7c4 /blockplacemods.py
parent5dba052fa9385f1d6383d3aecd8bd1908847d873 (diff)
blockplacemods tweaks/fixes of returned messages
Diffstat (limited to 'blockplacemods.py')
-rw-r--r--blockplacemods.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/blockplacemods.py b/blockplacemods.py
index db9c371..8bd50b3 100644
--- a/blockplacemods.py
+++ b/blockplacemods.py
@@ -150,7 +150,7 @@ def toggle_command(sender, command, label, args):
slot = int(arg2) if arg2.isdigit() else 0
if not (0 <= slot <= details[4]):
- return " &cSlot number must be between 1 and %s!" % details[4]
+ return " &cSlot number must be more than or equal to 0 and less than or equal to %s!" % details[4]
item = fromStack(player.getItemInHand())
if item[0] == 0 or item[1] <= 0:
@@ -173,7 +173,7 @@ def toggle_command(sender, command, label, args):
values[uuid] = {}
values[uuid][slot] = item
saveSettings()
- return ((" &aEnabled setting %s, S" % setting) if len(values[uuid]) == 1 else "&as") + "et itemstack in slot %s to item in hand" % (slot)
+ return ((" &aEnabled setting %s, S" % setting) if len(values[uuid]) == 1 else " &aS") + "et itemstack in slot %s to item in hand" % (slot)
return None #This shouldn't happen
except CommandException, e: