Removed redundant cast

This commit is contained in:
Auxilor 2021-07-16 14:13:58 +02:00
parent e52e8ba245
commit d5948d6cf0

View File

@ -203,7 +203,7 @@ public class EnchantmentCache {
String processedStringDescription = descriptionBuilder.toString();
processedStringDescription = processedStringDescription.replace(Display.PREFIX, "");
this.stringDescription = processedStringDescription.replaceAll(((EnchantDisplay) PLUGIN.getDisplayModule()).getOptions().getDescriptionOptions().getColor(), "");
this.stringDescription = processedStringDescription.replaceAll(PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor(), "");
}
}
}