diff --git a/paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java b/paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java index 3f17112fc5..a33e61ff77 100644 --- a/paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java +++ b/paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java @@ -82,10 +82,10 @@ public final class JavaPluginLoader implements PluginLoader { PlayerListener trueListener = (PlayerListener)listener; switch (event.getType()) { - case JOIN: + case PLAYER_JOIN: trueListener.onPlayerJoin((PlayerEvent)event); break; - case QUIT: + case PLAYER_QUIT: trueListener.onPlayerQuit((PlayerEvent)event); break; }