From 346f9bcb004a5d413496baaad975c5f0e3ac984e Mon Sep 17 00:00:00 2001 From: Stijn Bannink Date: Wed, 24 Mar 2021 12:15:01 +0100 Subject: [PATCH] Cleanup --- .../lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java b/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java index 544f9d6..9d22911 100644 --- a/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java +++ b/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java @@ -60,8 +60,8 @@ public class V10LiftPlugin extends JavaPlugin { } //Load the command - Objects.requireNonNull(getCommand("v10lift"), "Internal error! Command not found.").setExecutor(new V10LiftCommand()); - Objects.requireNonNull(getCommand("v10lift"), "Internal error! Command not found.").setTabCompleter(new V10LiftTabCompleter()); + getCommand("v10lift").setExecutor(new V10LiftCommand()); + getCommand("v10lift").setTabCompleter(new V10LiftTabCompleter()); //Register the listeners Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(), this); @@ -101,11 +101,6 @@ public class V10LiftPlugin extends JavaPlugin { } Bukkit.getLogger().info("[V10Lift] Plugin loaded successfully!"); - - //1 month sponsored advertising - if (LocalDate.now().getMonthValue() == 3) { - Bukkit.getLogger().info("[V10Lift] FrogNetwork! Een server met Minetopia, F1 Racing en #soon meer! Join via play.frognetwork.eu"); - } } @Override