Advertisement
Guest User

Main

a guest
Jun 26th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement