From 96d3ca5c210ea8fdac68178a734a1a4a9ec6f9ef Mon Sep 17 00:00:00 2001 From: bloodshot Date: Fri, 13 Nov 2020 17:39:02 -0500 Subject: [PATCH] Fix fire-spread flag definition for users. --- .../griefdefender/registry/FlagDefinitionRegistryModule.java | 4 ++-- .../griefdefender/registry/FlagDefinitionRegistryModule.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bukkit/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java b/bukkit/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java index 178e3d7..d3608e3 100644 --- a/bukkit/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java +++ b/bukkit/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java @@ -1222,8 +1222,8 @@ public void registerDefaults() { flagContexts = new HashSet<>(); flagContexts.add(FlagContexts.SOURCE_FIRE); definitionContexts = new HashSet<>(); - definitionContexts.add(ClaimContexts.GLOBAL_OVERRIDE_CONTEXT); - //definitionContexts.add(OWNER_OVERRIDE_CONTEXT); + definitionContexts.add(ClaimContexts.USER_DEFAULT_CONTEXT); + definitionContexts.add(OWNER_OVERRIDE_CONTEXT); flagData = new ArrayList<>(); flagData.add(flagDataBuilder .reset() diff --git a/sponge/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java b/sponge/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java index 178e3d7..d3608e3 100644 --- a/sponge/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java +++ b/sponge/src/main/java/com/griefdefender/registry/FlagDefinitionRegistryModule.java @@ -1222,8 +1222,8 @@ public void registerDefaults() { flagContexts = new HashSet<>(); flagContexts.add(FlagContexts.SOURCE_FIRE); definitionContexts = new HashSet<>(); - definitionContexts.add(ClaimContexts.GLOBAL_OVERRIDE_CONTEXT); - //definitionContexts.add(OWNER_OVERRIDE_CONTEXT); + definitionContexts.add(ClaimContexts.USER_DEFAULT_CONTEXT); + definitionContexts.add(OWNER_OVERRIDE_CONTEXT); flagData = new ArrayList<>(); flagData.add(flagDataBuilder .reset()