From d20b3af4fa8bad8da21856a6567debec0fbdbb32 Mon Sep 17 00:00:00 2001 From: Lewis Milburn Date: Wed, 25 Sep 2024 13:17:07 +0100 Subject: [PATCH] Removed unused function. --- .../java/net/lewmc/kryptonite/kos/config/Purpur.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/net/lewmc/kryptonite/kos/config/Purpur.java b/src/main/java/net/lewmc/kryptonite/kos/config/Purpur.java index 8bf96f7..a4676e5 100644 --- a/src/main/java/net/lewmc/kryptonite/kos/config/Purpur.java +++ b/src/main/java/net/lewmc/kryptonite/kos/config/Purpur.java @@ -121,14 +121,4 @@ public void setString(Key key, String value) { cfg.set(key.toString(), value); cfg.save(); } - - /** - * Gets a requested key's value. - * @param key Key - The requested key. - */ - public Object getObject(Key key) { - ConfigurationUtil cfg = new ConfigurationUtil(this.plugin, this.user); - cfg.load("purpur.yml"); - return cfg.get(key.toString()); - } }