mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Fixed rename
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
787c680ed9
commit
e657f1fe24
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue