This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main extends JavaPlugin { | |
private static Main instance; | |
public void onEnable(){ | |
instance = this; | |
} | |
public void onDisable(){ | |
Manager.miners = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Machine { | |
private Location loc; | |
private boolean active = true; | |
private int limit; | |
public Machine(Location loc){ | |
this.loc = loc; | |
} | |