From e657f1fe2462cf0bf578708edb6daa91728f0ede Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 28 Dec 2010 15:41:11 +0000 Subject: [PATCH] Fixed rename By: Dinnerbone --- paper-api/src/org/bukkit/plugin/java/JavaPluginLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }