diff --git a/TODO.md b/TODO.md index dafc050..6221218 100644 --- a/TODO.md +++ b/TODO.md @@ -1,8 +1,8 @@ # Migration TODOs for Paper Modernization - [x] Switch all player score storage to use UUID instead of Player as the key -- [ ] Update logger usage to use getLogger() from JavaPlugin -- [ ] Remove or modernize any old/deprecated event registration (use @EventHandler and registerEvents) +- [x] Update logger usage to use getLogger() from JavaPlugin +- [x] Remove or modernize any old/deprecated event registration (use @EventHandler and registerEvents) - [ ] Review and update player lookup logic to use getPlayerExact or handle case sensitivity - [x] Ensure all commands are properly defined in plugin.yml - [x] Initialize Gradle build system diff --git a/src/main/java/com/majinnaibu/minecraft/plugins/scorekeeper/ScoreKeeperPlugin.java b/src/main/java/com/majinnaibu/minecraft/plugins/scorekeeper/ScoreKeeperPlugin.java index 3c419b2..94471aa 100644 --- a/src/main/java/com/majinnaibu/minecraft/plugins/scorekeeper/ScoreKeeperPlugin.java +++ b/src/main/java/com/majinnaibu/minecraft/plugins/scorekeeper/ScoreKeeperPlugin.java @@ -23,8 +23,6 @@ public class ScoreKeeperPlugin extends JavaPlugin { @Override public void onEnable() { - //PluginManager pm = getServer().getPluginManager(); - //pm.registerEvent(Event.Type.BLOCK_PHYSICS, new BlockListener(){}, Priority.Normal, this); getCommand("score-get").setExecutor(new ScoreGetCommand(this)); getCommand("score-add").setExecutor(new ScoreAddCommand(this)); getCommand("score-subtract").setExecutor(new ScoreSubtractCommand(this));