mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
dce1a4503e
commit
b8b9e7c22b
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ public class SamplePlugin extends JavaPlugin {
|
|||
getServer().getPluginManager().registerEvent(Event.Type.PLAYER_COMMAND, playerListener, Priority.Normal, this);
|
||||
getServer().getPluginManager().registerEvent(Event.Type.PLAYER_MOVE, playerListener, Priority.Normal, this);
|
||||
getServer().getPluginManager().registerEvent(Event.Type.BLOCK_PHYSICS, blockListener, Priority.Normal, this);
|
||||
getServer().getPluginManager().registerEvent(Event.Type.BLOCK_CANBUILD, blockListener, Priority.Normal, this);
|
||||
}
|
||||
|
||||
public boolean isDebugging(final Player player) {
|
||||
|
|
Loading…
Reference in a new issue