SHARE
TWEET

XD

a guest Jun 18th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package przyklad.basic;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.command.CommandExecutor;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. public class Main extends JavaPlugin {
  8.    
  9.     public static Main instance;
  10.    
  11.     public void onEnable() {
  12.         Bukkit.getPluginCommand("report").setExecutor((CommandExecutor)new ReportCommand(this));
  13.         Bukkit.getPluginCommand("reportlist").setExecutor((CommandExecutor)new ReportListCommand(this));
  14.         Bukkit.getPluginCommand("addplayer").setExecutor((CommandExecutor)new addPlayerCommand(this));
  15.         Bukkit.getPluginCommand("delplayer").setExecutor((CommandExecutor)new delPlayerCommand(this));
  16.     }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top