Advertisement
james1bow

Untitled

Apr 6th, 2024
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.59 KB | None | 0 0
  1. public class Main extends Plugin implements Listener {
  2.     public DbHandler dbHandler;
  3.     public static SellHandler sellHandler;
  4.     public static  LoadAssets loadAssets;
  5.    
  6.     public static SellUi sellUi;
  7.  
  8.     @Override
  9.     public void onEnable() {
  10.         this.registerEventListener(this);
  11.         loadAssets = new LoadAssets(this);
  12.        
  13.         dbHandler = new DbHandler(this);
  14.         sellHandler = new SellHandler(this);
  15.         sellUi = new SellUi(this);
  16.         dbHandler.loadDatabase();
  17.         loadAssets.loadObjectIcons();
  18.         loadAssets.loadItemIcons();
  19.     }
  20.  
  21.  
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement