Skip to content

Commit

Permalink
Fixed being able to create kits with spaces in te name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckerr committed Sep 27, 2021
1 parent 5f54d23 commit 4b5a1e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void onPurchase(Player p, Kit kit) {
@Subcommand("create")
@Description("Creates a kit")
@CommandPermission("kitspvp.kits.create")
public void createKit(CommandSender p, String id) {
public void createKit(CommandSender p, @Single String id) {
try {
KitPvPPlus.getInstance().getKitManager().createKit(id);
p.sendMessage(Language.KIT_CREATED.get().replace("%kitname%", id));
Expand Down

0 comments on commit 4b5a1e7

Please sign in to comment.