diff options
Diffstat (limited to 'test-plugin/src/main/java/io/papermc/testplugin/TestPlugin.java')
-rw-r--r-- | test-plugin/src/main/java/io/papermc/testplugin/TestPlugin.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test-plugin/src/main/java/io/papermc/testplugin/TestPlugin.java b/test-plugin/src/main/java/io/papermc/testplugin/TestPlugin.java index b8d30202dd..671c37fa40 100644 --- a/test-plugin/src/main/java/io/papermc/testplugin/TestPlugin.java +++ b/test-plugin/src/main/java/io/papermc/testplugin/TestPlugin.java @@ -1,8 +1,5 @@ package io.papermc.testplugin; -import io.papermc.paper.registry.keys.GameEventKeys; -import org.bukkit.GameEvent; -import org.bukkit.Registry; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; @@ -13,17 +10,6 @@ public final class TestPlugin extends JavaPlugin implements Listener { this.getServer().getPluginManager().registerEvents(this, this); // io.papermc.testplugin.brigtests.Registration.registerViaOnEnable(this); - - final GameEvent newEvent = Registry.GAME_EVENT.get(TestPluginBootstrap.NEW_EVENT); - if (newEvent == null) { - throw new RuntimeException("could not find new event"); - } else { - System.out.println("New event: " + newEvent.getKey() + " " + newEvent.getRange()); - } - final GameEvent changed = Registry.GAME_EVENT.get(GameEventKeys.BLOCK_OPEN); - System.out.println("changed: " + changed.getRange()); - final GameEvent same = Registry.GAME_EVENT.get(GameEventKeys.CONTAINER_OPEN); - System.out.println("same: " + same.getRange()); } } |