From cea504814825a8e3e44d9fe1b1886a7ba01398a3 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Sun, 5 Aug 2018 00:08:48 -0500 Subject: [PATCH] Fixed logger message for replace in config method. --- src/main/java/com/massivecraft/factions/P.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/P.java b/src/main/java/com/massivecraft/factions/P.java index 4321f0b7..e9c59f4b 100644 --- a/src/main/java/com/massivecraft/factions/P.java +++ b/src/main/java/com/massivecraft/factions/P.java @@ -260,12 +260,18 @@ public class P extends MPlugin { replaceStringInConfig("fupgrades.MainMenu.Spawners.SpawnerItem.Type", "MOB_SPAWNER", "SPAWNER"); + replaceStringInConfig("fperm-gui.action.access.allow", "LIME", "LIME_STAINED_GLASS"); + + replaceStringInConfig("fperm-gui.action.access.deny", "RED", "RED_STAINED_GLASS"); + + replaceStringInConfig("fperm-gui.action.access.undefined", "CYAN", "CYAN_STAINED_GLASS"); + } public void replaceStringInConfig(String path, String stringToReplace, String replacementString) { if (getConfig().getString(path).equals(stringToReplace)) { - P.p.log("Replacing legacy material '" + stringToReplace + "' with '" + stringToReplace + "' for config node '" + path + "'."); + P.p.log("Replacing legacy material '" + stringToReplace + "' with '" + replacementString + "' for config node '" + path + "'."); getConfig().set(path, replacementString); } }