diff options
author | Dico200 <dico.karssiens@gmail.com> | 2015-05-18 23:32:57 +0200 |
---|---|---|
committer | Dico200 <dico.karssiens@gmail.com> | 2015-05-18 23:32:57 +0200 |
commit | fb3e4afe3cc82f5d734dd9642bd9c5a0c6cc23c4 (patch) | |
tree | 0a25d75ca277fe565f22161c1c8ff80ec93aa7c4 /blockplacemods.py | |
parent | 5dba052fa9385f1d6383d3aecd8bd1908847d873 (diff) |
blockplacemods tweaks/fixes of returned messages
Diffstat (limited to 'blockplacemods.py')
-rw-r--r-- | blockplacemods.py | 4 |
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: |