Advertisement
Laloth

BEC-Main-8/8/2012 9:45 PM

Aug 2nd, 2012
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. package me.Laloth.Main;
  2.  
  3. import org.bukkit.plugin.PluginManager;
  4. import org.bukkit.plugin.java.JavaPlugin;
  5.  
  6. public class Main extends JavaPlugin {
  7.     private PlayerListener PlayerListener = new PlayerListener(this);
  8.     public static Main plugin;
  9.  
  10.     public void onEnable() {
  11.         System.out.println("BlockEnderChest Has Been Enabled");
  12.         PluginManager pm = getServer().getPluginManager();
  13.         pm.registerEvents(this.PlayerListener, this);
  14.     }
  15.  
  16.     public void onDisable() {
  17.         System.out.println("BlockEnderChest Has Been Disabled");
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement