range starts at 0
This commit is contained in:
@@ -41,7 +41,7 @@ def onDammnspamCommand(sender, args):
|
|||||||
global inputs
|
global inputs
|
||||||
|
|
||||||
plugHeader(sender, "DamnSpam")
|
plugHeader(sender, "DamnSpam")
|
||||||
if len(args) in range(2):
|
if len(args) in [1,2]:
|
||||||
|
|
||||||
if not str(sender.getGameMode()) == "CREATIVE":
|
if not str(sender.getGameMode()) == "CREATIVE":
|
||||||
msg(sender, "&cYou can only do this in Creative mode.")
|
msg(sender, "&cYou can only do this in Creative mode.")
|
||||||
|
|||||||
Reference in New Issue
Block a user