From 5c4af308bb4fdec2eb955256d78e8b206914648c Mon Sep 17 00:00:00 2001 From: Flemmli97 Date: Sun, 13 Jun 2021 15:55:29 +0200 Subject: [PATCH] changelog --- Changelog.txt | 3 +++ .../src/main/java/io/github/flemmli97/flan/config/Config.java | 1 + 2 files changed, 4 insertions(+) diff --git a/Changelog.txt b/Changelog.txt index fd751cd..694757a 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -12,6 +12,9 @@ Flan 1.5.0 - Add ability to add potion effects to claims. That claim will then apply that effect to any player inside the claim Specify potions with +- Add EDITPOTIONS permission for that. There are no limits to potion effects so + this should be admin reserved only. + Default global value is ALLFALSE so disabled for that reason Flan 1.4.2 ====================== diff --git a/common/src/main/java/io/github/flemmli97/flan/config/Config.java b/common/src/main/java/io/github/flemmli97/flan/config/Config.java index 7c78d43..a284fb7 100644 --- a/common/src/main/java/io/github/flemmli97/flan/config/Config.java +++ b/common/src/main/java/io/github/flemmli97/flan/config/Config.java @@ -82,6 +82,7 @@ public class Config { perms.put(PermissionRegistry.MOBSPAWN, GlobalType.ALLFALSE); perms.put(PermissionRegistry.TELEPORT, GlobalType.ALLFALSE); perms.put(PermissionRegistry.NOHUNGER, GlobalType.ALLFALSE); + perms.put(PermissionRegistry.EDITPOTIONS, GlobalType.ALLFALSE); }))); public Config(MinecraftServer server) {