From 9863b93b4108d4a5ee68daec5acac4cc13503e84 Mon Sep 17 00:00:00 2001 From: ceze88 Date: Wed, 2 Aug 2023 17:46:30 +0200 Subject: [PATCH] Fixes method names --- .../main/java/com/craftaro/epicanchors/files/Settings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EpicAnchors-Plugin/src/main/java/com/craftaro/epicanchors/files/Settings.java b/EpicAnchors-Plugin/src/main/java/com/craftaro/epicanchors/files/Settings.java index 466d14c..9e47c3b 100644 --- a/EpicAnchors-Plugin/src/main/java/com/craftaro/epicanchors/files/Settings.java +++ b/EpicAnchors-Plugin/src/main/java/com/craftaro/epicanchors/files/Settings.java @@ -83,13 +83,13 @@ public class Settings { // convert glass pane settings int color; if ((color = GLASS_TYPE_1.getInt(-1)) != -1) { - CONFIG.set(GLASS_TYPE_1.getKey(), CompatibleMaterial.getGlassPaneColor(color).name()); + CONFIG.set(GLASS_TYPE_1.getKey(), CompatibleMaterial.getGlassPaneForColor(color).name()); } if ((color = GLASS_TYPE_2.getInt(-1)) != -1) { - CONFIG.set(GLASS_TYPE_2.getKey(), CompatibleMaterial.getGlassPaneColor(color).name()); + CONFIG.set(GLASS_TYPE_2.getKey(), CompatibleMaterial.getGlassPaneForColor(color).name()); } if ((color = GLASS_TYPE_3.getInt(-1)) != -1) { - CONFIG.set(GLASS_TYPE_3.getKey(), CompatibleMaterial.getGlassPaneColor(color).name()); + CONFIG.set(GLASS_TYPE_3.getKey(), CompatibleMaterial.getGlassPaneForColor(color).name()); } // convert economy settings