From 27b88ebdf135956d5c89c607efb54e0a1103a371 Mon Sep 17 00:00:00 2001 From: aroooo <dev.antoinerochas@gmail.com> Date: Thu, 27 Oct 2022 18:40:52 +0200 Subject: [PATCH] fix: remove the text retreive from configuration --- .../net/artelnatif/nicko/command/sub/NickoDisguiseSubCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nicko-core/src/main/java/net/artelnatif/nicko/command/sub/NickoDisguiseSubCmd.java b/nicko-core/src/main/java/net/artelnatif/nicko/command/sub/NickoDisguiseSubCmd.java index 9d3c0ab..78055a2 100644 --- a/nicko-core/src/main/java/net/artelnatif/nicko/command/sub/NickoDisguiseSubCmd.java +++ b/nicko-core/src/main/java/net/artelnatif/nicko/command/sub/NickoDisguiseSubCmd.java @@ -25,7 +25,7 @@ public class NickoDisguiseSubCmd extends NickoSubCmd { final String disguiseSkinCommand = disguiseBaseCommand + "skin"; final String disguiseBothCommand = disguiseBaseCommand + "full"; - final RainbowText text = new RainbowText(NickoBukkit.getInstance().getNickoConfig().getDisguiseKitHeader()); + final RainbowText text = new RainbowText("Nicko Disguise Kit"); final int displacement = new Random().nextInt(RainbowText.getDefaultRainbow().size() - 1); text.setPlace(displacement);