Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. @Override
  2. public void onEnable() {
  3. PluginManager pm = getServer().getPluginManager();
  4. pm.registerEvent(Event.Type.BLOCK_PLACE, blockListener, Event.Priority.Normal, this);
  5. PluginDescriptionFile pdfFile = this.getDescription();
  6. log.info( pdfFile.getName() + " version" + pdfFile.getVersion() + " is enabled" );
  7. }
  8. public boolean isDebugging(final Player player){
  9. if (debugees.containsKey(player)) {
  10. return debugees.get(player);
  11. } else {
  12. return false;
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement