From 8cf4d881dce1c168b19097b6798ff5e737762615 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sat, 25 Dec 2021 08:29:31 -0600 Subject: [PATCH] fix @NotNull --- src/main/java/net/tylermurphy/hideAndSeek/Main.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/tylermurphy/hideAndSeek/Main.java b/src/main/java/net/tylermurphy/hideAndSeek/Main.java index 3aa456b..050d96b 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/Main.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/Main.java @@ -26,7 +26,6 @@ import net.tylermurphy.hideAndSeek.configuration.Localization; import net.tylermurphy.hideAndSeek.configuration.Items; import net.tylermurphy.hideAndSeek.util.Board; import net.tylermurphy.hideAndSeek.world.WorldLoader; -import org.jetbrains.annotations.NotNull; public class Main extends JavaPlugin implements Listener { @@ -82,11 +81,11 @@ public class Main extends JavaPlugin implements Listener { 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); } - public List onTabComplete(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, String[] args) { + public List onTabComplete(CommandSender sender, Command command, String label, String[] args) { return TabCompleter.handleTabComplete(sender, command, label, args); }