From 935a3cb3782e91b65116d46a34634bea8a5f9049 Mon Sep 17 00:00:00 2001 From: Jsinco Date: Thu, 22 Aug 2024 06:41:59 -0400 Subject: [PATCH] forgot to add this stuff --- src/main/java/com/dre/brewery/storage/DataManager.java | 4 ++-- src/main/resources/plugin.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dre/brewery/storage/DataManager.java b/src/main/java/com/dre/brewery/storage/DataManager.java index d488b6ce..e58273a4 100644 --- a/src/main/java/com/dre/brewery/storage/DataManager.java +++ b/src/main/java/com/dre/brewery/storage/DataManager.java @@ -208,7 +208,7 @@ public static String serializeLocation(Location location) { public static Location deserializeLocation(String string, boolean yawPitch) { if (string == null) { - plugin.errorLog("Location is null!"); + plugin.warningLog("Location is null!"); return null; } @@ -241,7 +241,7 @@ public static Location deserializeLocation(String string, boolean yawPitch) { if (world == null) { - plugin.errorLog("World not found! " + loc[0]); // TODO: add command to purge stuff in non-existent worlds + plugin.warningLog("World not found! " + loc[0]); // TODO: add command to purge stuff in non-existent worlds return null; } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f9266b96..f880d63c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -2,6 +2,7 @@ name: BreweryX version: '${version}' website: 'https://www.spigotmc.org/resources/breweryx.114777/' main: com.dre.brewery.BreweryPlugin +load: POSTWORLD softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention, Vault, ChestShop, Shopkeepers, Towny, BlockLocker, Slimefun, PlaceholderAPI] authors: [Jsinco, Mitality, Szarkans, Sn0wStorm, TTTheKing, Grafe] folia-supported: true