mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-30 05:53:35 +01:00
Mark overwritten and empty config methods in SongodaPlugin as deprecated
The methods should not be used
This commit is contained in:
parent
7ef00bb8f9
commit
73685b62dd
@ -217,15 +217,16 @@ public abstract class SongodaPlugin extends JavaPlugin {
|
||||
/**
|
||||
* Use {@link SongodaYamlConfig} instead.
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
@Override
|
||||
public FileConfiguration getConfig() {
|
||||
public @NotNull FileConfiguration getConfig() {
|
||||
return super.getConfig();
|
||||
}
|
||||
|
||||
/**
|
||||
* Use {@link SongodaYamlConfig} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
@Override
|
||||
public void reloadConfig() {
|
||||
}
|
||||
@ -233,6 +234,7 @@ public abstract class SongodaPlugin extends JavaPlugin {
|
||||
/**
|
||||
* Use {@link SongodaYamlConfig} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
@Override
|
||||
public void saveConfig() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user