mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-29 16:15:17 +01:00
Removed redundant cast
This commit is contained in:
parent
e52e8ba245
commit
d5948d6cf0
@ -203,7 +203,7 @@ public class EnchantmentCache {
|
|||||||
|
|
||||||
String processedStringDescription = descriptionBuilder.toString();
|
String processedStringDescription = descriptionBuilder.toString();
|
||||||
processedStringDescription = processedStringDescription.replace(Display.PREFIX, "");
|
processedStringDescription = processedStringDescription.replace(Display.PREFIX, "");
|
||||||
this.stringDescription = processedStringDescription.replaceAll(((EnchantDisplay) PLUGIN.getDisplayModule()).getOptions().getDescriptionOptions().getColor(), "");
|
this.stringDescription = processedStringDescription.replaceAll(PLUGIN.getDisplayModule().getOptions().getDescriptionOptions().getColor(), "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user