Advertisement
jws5470

ProtectCell

Aug 30th, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1. public class ProtectCell extends JavaPlugin {
  2.         public void onDisable() {}
  3.         public void onEnable() {
  4.             PluginManager pm = this.getServer().getPluginManager();
  5.             pm.registerEvents(new EventListener(this), this);
  6.         }
  7. }
  8.  
  9. public class Cell
  10. public class EventListener implements Listener {
  11.         public ProtectCell plugin;
  12.         public EventListener(ProtectCell instance) {
  13.                 plugin = instance;
  14.         }
  15.  
  16.         @EventHandler
  17.         public void onBlockPlace(BlockPlaceEvent event){
  18.  
  19.         }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement