mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-27 10:41:27 +01:00
Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
e657f1fe24
commit
de10dba640
@ -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 New Issue
Block a user