changelog and version bump

This commit is contained in:
Flemmli97 2020-10-30 15:25:36 +01:00
parent 82e5f0e6c3
commit a4ddd89988
4 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Flan 1.1.0
======================
- Add global per world perms
- Add global per world perms (for more info visit https://github.com/Flemmli97/Flan/wiki/Config)
- Fail safe for config reading just in case the config contains "bad values"
- Some more logs

View File

@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx2G
loader_version=0.9.1+build.205
# Mod Properties
mod_version = 1.0.9
mod_version = 1.1.0
maven_group = com.flemmli97.flan
archives_base_name = flan

View File

@ -123,7 +123,7 @@ public class Config {
JsonObject global = new JsonObject();
this.globalDefaultPerms.entrySet().forEach(e->{
JsonObject perm = new JsonObject();
e.getValue().entrySet().forEach(eperm->perm.addProperty(eperm.getKey().toString(), eperm.getValue().toString()));
e.getValue().entrySet().forEach(eperm->perm.addProperty(eperm.getKey().toString(), eperm.getValue().booleanValue()));
global.add(e.getKey(), perm);
});
obj.add("globalDefaultPerms", global);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 B

After

Width:  |  Height:  |  Size: 2.9 KiB