Move ConfigHelper to new config module and deprecate it

This commit is contained in:
Oliver
2025-07-19 19:03:30 +02:00
parent 54a45ef827
commit a2f61b6215
8 changed files with 7 additions and 2 deletions

View File

@@ -2,8 +2,10 @@ package de.oliver.fancylib;
import org.bukkit.configuration.file.FileConfiguration;
@Deprecated
public class ConfigHelper {
@Deprecated
public static Object getOrDefault(FileConfiguration config, String path, Object defaultVal) {
if (!config.contains(path)) {
config.set(path, defaultVal);