Fixed a small bug where generic types can not be disabled.
This commit is contained in:
1 parent
57280b8285
commit
dafb162797
2 files changed
+91
-91
No files matched your search
@@ -113,7 +113,7 @@ public class SettingsManager
|
||||
if(obj == null) {
|
||||
obj = new JsonObject();
|
||||
data.add(name, obj);
|
||||
if(create) obj.addProperty("enabled", true);
|
||||
if(create) obj.addProperty("Enabled", true);
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user