daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package de.syntax.main.Main;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.plugin.PluginManager;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. import utils.Navigator;
  8.  
  9. public class Main extends JavaPlugin {
  10.     private static Main plugin;
  11.  
  12.     @Override
  13.     public void onEnable() {
  14.  
  15.         plugin = this;
  16.         PluginManager pm = Bukkit.getPluginManager();
  17.         pm.registerEvents(new Navigator(), this);
  18.     }
  19.  
  20.     private static Main getPlugin() {
  21.         return plugin;
  22.  
  23.     }
  24. }
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
 
Top