From db1198bdd94961a6e3a396534369993287bac03b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 30 Mar 2021 08:24:16 +0200 Subject: [PATCH] Fix TestCommand --- SpigotCore_Main/src/de/steamwar/acommand/TestCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/acommand/TestCommand.java b/SpigotCore_Main/src/de/steamwar/acommand/TestCommand.java index df35220..50901f1 100644 --- a/SpigotCore_Main/src/de/steamwar/acommand/TestCommand.java +++ b/SpigotCore_Main/src/de/steamwar/acommand/TestCommand.java @@ -37,7 +37,7 @@ public class TestCommand extends SWCommand { } // One Help Command, the first Parameter should be some kind of CommandSender - // The second argument can only be a varAgrs string of what arguments was tried to map + // The second argument can only be a varAgrs string of what arguments were tried to map @Register(help = true) public void testHelp(Player player, String... args) { player.sendMessage("This is your help message"); @@ -66,7 +66,7 @@ public class TestCommand extends SWCommand { .map(Material::name) .map(String::toLowerCase) .collect(Collectors.toList()); - return new TypeMapper<>() { + return new TypeMapper() { @Override public Material map(String s) { return Material.valueOf(s.toUpperCase());