1

How do i use getConfig() outside of my main class when making a plugin

DukkiStuff's Avatar DukkiStuff7/11/18 7:15 am
1 emeralds 127 2
7/12/2018 3:34 am
DukkiStuff's Avatar DukkiStuff
so, title explains it all. i'm making a plugin and need to use getConfig() outside of my main class.
Posted by DukkiStuff's Avatar
DukkiStuff
Level 9 : Apprentice Birb
14

Create an account or sign in to comment.

2

1
07/11/2018 9:43 am
Level 5 : Apprentice Network
Mancee
Mancee's Avatar
1.) You should really look into some basic java tutorials for concepts like this
2.) You need an instance of your Main class
1
07/12/2018 3:34 am
Level 9 : Apprentice Birb
DukkiStuff
DukkiStuff's Avatar
okay, i can't say this better. no matter how many times i try to pass an instance it never workes.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome