Skip to content

Commit

Permalink
Update NPCCommands.java
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jun 27, 2014
1 parent f86f7f9 commit 1380f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/citizensnpcs/commands/NPCCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ public void slimeSize(CommandContext args, CommandSender sender, NPC npc) {
trait.describe(sender);
return;
}
int size = Math.max(1, args.getInteger(1));
int size = Math.max(-2, args.getInteger(1));
trait.setSize(size);
Messaging.sendTr(sender, Messages.SIZE_SET, npc.getName(), size);
}
Expand Down

0 comments on commit 1380f0f

Please sign in to comment.