Advertisement
Guest User

Main

a guest
Jun 26th, 2017
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None
  1. package me.LandinosMC.HubPlugin;
  2.  
  3.  
  4. import org.bukkit.plugin.java.JavaPlugin;
  5.  
  6. import me.LandinosMC.HubPlugin.Hub.hub;
  7. import me.LandinosMC.HubPlugin.Lobby.lobby;
  8.  
  9.  
  10.  
  11.  
  12.  
  13. public class Main extends JavaPlugin {
  14.  
  15.  
  16. public void onEnable() {
  17. System.out.println("(!) Enabling HubWorld Plugin...");
  18. ERROR IS ON THIS LINE! this.getCommand("hub").setExecutor(new hub());
  19. this.getCommand("lobby").setExecutor(new lobby());
  20. new OnJoin(this);
  21. }
  22. public void onDisable() {
  23. System.out.println("(!) Disabling HubWorld Plugin...");
  24.  
  25. }
  26. }
Advertisement
RAW Paste Data Copied
Advertisement