fix: remove the text retreive from configuration

This commit is contained in:
aroooo 2022-10-27 18:40:52 +02:00
parent af6e031995
commit 27b88ebdf1

View file

@ -25,7 +25,7 @@ public class NickoDisguiseSubCmd extends NickoSubCmd {
final String disguiseSkinCommand = disguiseBaseCommand + "skin"; final String disguiseSkinCommand = disguiseBaseCommand + "skin";
final String disguiseBothCommand = disguiseBaseCommand + "full"; 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); final int displacement = new Random().nextInt(RainbowText.getDefaultRainbow().size() - 1);
text.setPlace(displacement); text.setPlace(displacement);