Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.Laloth.Main;
- import org.bukkit.plugin.PluginManager;
- import org.bukkit.plugin.java.JavaPlugin;
- public class Main extends JavaPlugin {
- private PlayerListener PlayerListener = new PlayerListener(this);
- public static Main plugin;
- public void onEnable() {
- System.out.println("BlockEnderChest Has Been Enabled");
- PluginManager pm = getServer().getPluginManager();
- pm.registerEvents(this.PlayerListener, this);
- }
- public void onDisable() {
- System.out.println("BlockEnderChest Has Been Disabled");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement