mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-26 20:45:43 +01:00
Small config cleanup.
This commit is contained in:
parent
4871752f49
commit
0f989fc1b4
@ -53,7 +53,6 @@ public abstract class WorldConfiguration {
|
||||
"# Remove the {} and add your own entries.\r\n" +
|
||||
"#\r\n";
|
||||
|
||||
@Unreported private String worldName;
|
||||
protected File blacklistFile;
|
||||
|
||||
@Unreported protected Blacklist blacklist;
|
||||
@ -170,10 +169,6 @@ public Blacklist getBlacklist() {
|
||||
return this.blacklist;
|
||||
}
|
||||
|
||||
public String getWorldName() {
|
||||
return this.worldName;
|
||||
}
|
||||
|
||||
public List<String> convertLegacyItems(List<String> legacyItems) {
|
||||
return legacyItems.stream().map(this::convertLegacyItem).collect(Collectors.toList());
|
||||
}
|
||||
|
@ -381,16 +381,6 @@ public void loadConfiguration() {
|
||||
config.save();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Blacklist getBlacklist() {
|
||||
return this.blacklist;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getWorldName() {
|
||||
return this.worldName;
|
||||
}
|
||||
|
||||
public boolean isChestProtected(Location block, LocalPlayer player) {
|
||||
if (!signChestProtection) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user