mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Update for 1.0.0
This commit is contained in:
@@ -60,6 +60,10 @@ public class PropertyManager {
|
||||
}
|
||||
}
|
||||
|
||||
public File c() {
|
||||
return this.c;
|
||||
}
|
||||
|
||||
public String getString(String s, String s1) {
|
||||
if (!this.properties.containsKey(s)) {
|
||||
s1 = this.getOverride(s, s1); // CraftBukkit
|
||||
@@ -90,6 +94,10 @@ public class PropertyManager {
|
||||
}
|
||||
}
|
||||
|
||||
public void a(String s, Object object) {
|
||||
this.properties.setProperty(s, "" + object);
|
||||
}
|
||||
|
||||
public void setBoolean(String s, boolean flag) {
|
||||
this.properties.setProperty(s, "" + flag);
|
||||
this.savePropertiesFile();
|
||||
|
Reference in New Issue
Block a user