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());