mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Fix enchantment registry reading (#1902)
Signed-off-by: GoldenStack <goldenfire64yt@gmail.com>
This commit is contained in:
parent
824ae0a25b
commit
c5047b8037
@ -402,10 +402,10 @@ public final class Registry {
|
||||
main.getInt("id"),
|
||||
main.getString("translationKey"),
|
||||
main.getDouble("maxLevel"),
|
||||
main.getBoolean("isCursed", false),
|
||||
main.getBoolean("isDiscoverable", true),
|
||||
main.getBoolean("isTradeable", true),
|
||||
main.getBoolean("isTreasureOnly", false),
|
||||
main.getBoolean("curse", false),
|
||||
main.getBoolean("discoverable", true),
|
||||
main.getBoolean("tradeable", true),
|
||||
main.getBoolean("treasureOnly", false),
|
||||
custom);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user