Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ChatUtil{
- private Game game;
- public ChatUtil(Game game){
- this.game = game;
- }
- public Game getGame(){
- return game;
- }
- }
- public class Game{
- private Plugin plugin;
- private Game game;
- public Game(Plugin plugin){
- this.plugin = plugin;
- this.game = new Game(this);
- }
- public Plugin getPlugin(){
- return plugin;
- }
- }
- public class GamePlugin extends JavaPlugin{
- private Game game;
- @Override
- public void onEnable(){
- this.game = new Game(this);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement