Skip to content

Commit b16e04a

Browse files
committedOct 13, 2015
Fixed bug in kit command. Fixes #1815
1 parent 14aabc9 commit b16e04a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/main/java/com/forgeessentials/commands/item/CommandKit.java

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public void parse(final CommandParserArgs arguments)
115115
if (!arguments.hasPermission(PERM + "." + kit.getName()))
116116
throw new TranslatedCommandException("You are not allowed to use this kit");
117117
kit.giveKit(arguments.senderPlayer);
118+
return;
118119
}
119120

120121
arguments.checkPermission(PERM_ADMIN);

0 commit comments

Comments
 (0)
Please sign in to comment.