PerryPlaysMC

MainExample

Feb 26th, 2021
814
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import armoreditevents.ArmorListener;
  2. import org.bukkit.Bukkit;
  3. import org.bukkit.plugin.java.JavaPlugin;
  4.  
  5. /**
  6.  * Copy Right ©
  7.  * This code is private
  8.  * Owner: PerryPlaysMC
  9.  * From: 02/2021-Now
  10.  **/
  11.  
  12. public class Main extends JavaPlugin {
  13.  
  14.     @Override
  15.     public void onEnable() {
  16.         new ArmorListener(this);
  17.         //or
  18.         Bukkit.getPluginManager().registerEvents(new ArmorListener(this), this);
  19.     }
  20. }
  21.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×