mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update for 1.0.0
This commit is contained in:
1 parent
589f66bd1b
commit
345ea36c7b
153 files changed
+6128
-4617
No files matched your search
@@ -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