mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-14 20:31:37 +01:00
Fixed rename
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
787c680ed9
commit
e657f1fe24
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user