mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed type case sensitivity
This commit is contained in:
parent
8f1873e3eb
commit
abd1b4d009
@ -29,7 +29,7 @@ public class CustomEcoEnchant extends EcoEnchant {
|
||||
*/
|
||||
public CustomEcoEnchant(@NotNull final Config config) {
|
||||
super(
|
||||
config.getString("id"), EnchantmentType.getByName(config.getString("type"))
|
||||
config.getString("id"), EnchantmentType.getByName(config.getString("type").toUpperCase())
|
||||
);
|
||||
this.config = config;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user