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 {
|
public final class NoThankYouMicrosoft extends JavaPlugin {
|
||||||
|
|
||||||
private static JavaPlugin instance;
|
private static JavaPlugin instance;
|
||||||
private File databaseFile;
|
private static File databaseFile;
|
||||||
private FileConfiguration databaseFileConfig;
|
private static FileConfiguration databaseFileConfig;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
|
@ -40,8 +40,8 @@ public final class NoThankYouMicrosoft extends JavaPlugin {
|
||||||
public static JavaPlugin getInstance() {
|
public static JavaPlugin getInstance() {
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
public FileConfiguration getDatabase() {
|
public static FileConfiguration getDatabase() {
|
||||||
return this.databaseFileConfig;
|
return databaseFileConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue