mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 22:40:21 +01:00
Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
e657f1fe24
commit
de10dba640
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ public class SamplePlugin extends JavaPlugin {
|
|||
}
|
||||
|
||||
private void registerEvents() {
|
||||
getServer().getPluginManager().registerEvent(Event.Type.JOIN, playerListener, Priority.Normal, this);
|
||||
getServer().getPluginManager().registerEvent(Event.Type.QUIT, playerListener, Priority.Normal, this);
|
||||
getServer().getPluginManager().registerEvent(Event.Type.PLAYER_JOIN, playerListener, Priority.Normal, this);
|
||||
getServer().getPluginManager().registerEvent(Event.Type.PLAYER_QUIT, playerListener, Priority.Normal, this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue