File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/org/maxgamer/quickshop/localization/text Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2424import org .apache .commons .io .IOUtils ;
2525import org .bukkit .Bukkit ;
2626import org .bukkit .command .CommandSender ;
27+ import org .bukkit .configuration .ConfigurationSection ;
2728import org .bukkit .configuration .InvalidConfigurationException ;
2829import org .bukkit .entity .Player ;
2930import org .jetbrains .annotations .NotNull ;
@@ -194,6 +195,9 @@ private void applyOverrideConfiguration(@NotNull JsonConfiguration distributionC
194195 continue ;
195196 }
196197 Object content = overrideConfiguration .get (key );
198+ if (content instanceof ConfigurationSection ) {
199+ continue ;
200+ }
197201 Util .debugLog ("Override key " + key + " with content: " + content );
198202 distributionConfiguration .set (key , content );
199203 }
You can’t perform that action at this time.
0 commit comments