forked from fzorb/noThankYouMicrosoft
make flag-related things static
This commit is contained in:
parent
68844e611a
commit
f4583bc2ec
1 changed files with 4 additions and 4 deletions
|
@ -11,8 +11,8 @@ import java.io.IOException;
|
|||
public final class NoThankYouMicrosoft extends JavaPlugin {
|
||||
|
||||
private static JavaPlugin instance;
|
||||
private File databaseFile;
|
||||
private FileConfiguration databaseFileConfig;
|
||||
private static File databaseFile;
|
||||
private static FileConfiguration databaseFileConfig;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
|
@ -40,8 +40,8 @@ public final class NoThankYouMicrosoft extends JavaPlugin {
|
|||
public static JavaPlugin getInstance() {
|
||||
return instance;
|
||||
}
|
||||
public FileConfiguration getDatabase() {
|
||||
return this.databaseFileConfig;
|
||||
public static FileConfiguration getDatabase() {
|
||||
return databaseFileConfig;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue