From fec119593dd482c5e813c4b3e343f17cfa6185d9 Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 21 Jul 2018 14:23:31 -0400 Subject: [PATCH] Additional Paper Config options Have to keep as sep patch for now until 1.13, otherwise we can't merge :/ diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java index 62bce1806..5a17ce3d2 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java @@ -67,6 +67,10 @@ public class PaperConfig { readConfig(PaperConfig.class, null); } + protected static void logError(String s) { + Bukkit.getLogger().severe(s); + } + protected static void log(String s) { if (verbose) { Bukkit.getLogger().info(s); diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java index 692206127..7bd7aa0d9 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java @@ -8,6 +8,7 @@ import org.bukkit.configuration.file.YamlConfiguration; import org.spigotmc.SpigotWorldConfig; import static com.destroystokyo.paper.PaperConfig.log; +import static com.destroystokyo.paper.PaperConfig.logError; public class PaperWorldConfig { -- 2.18.0