mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-05 23:33:36 +00:00
Move ConfigHelper to new config module and deprecate it
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user