fix @NotNull

This commit is contained in:
Tyler Murphy 2021-12-25 08:29:31 -06:00
parent 0e9a2a7f51
commit 8cf4d881dc

View file

@ -26,7 +26,6 @@ import net.tylermurphy.hideAndSeek.configuration.Localization;
import net.tylermurphy.hideAndSeek.configuration.Items; import net.tylermurphy.hideAndSeek.configuration.Items;
import net.tylermurphy.hideAndSeek.util.Board; import net.tylermurphy.hideAndSeek.util.Board;
import net.tylermurphy.hideAndSeek.world.WorldLoader; import net.tylermurphy.hideAndSeek.world.WorldLoader;
import org.jetbrains.annotations.NotNull;
public class Main extends JavaPlugin implements Listener { public class Main extends JavaPlugin implements Listener {
@ -82,11 +81,11 @@ public class Main extends JavaPlugin implements Listener {
onTickTask.cancel(); onTickTask.cancel();
} }
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command cmd, @NotNull String label, String[] args) { public boolean onCommand(CommandSender sender, Command cmd,String label, String[] args) {
return CommandHandler.handleCommand(sender, cmd, label, args); return CommandHandler.handleCommand(sender, cmd, label, args);
} }
public List<String> onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, String[] args) { public List<String> onTabComplete(CommandSender sender, Command command, String label, String[] args) {
return TabCompleter.handleTabComplete(sender, command, label, args); return TabCompleter.handleTabComplete(sender, command, label, args);
} }