mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-13 22:25:53 +01:00
Fix enchantment registry reading (Minestom/Minestom#1902)
Signed-off-by: GoldenStack <goldenfire64yt@gmail.com>
(cherry picked from commit c5047b8037
)
This commit is contained in:
parent
80a4577940
commit
74020930be
@ -422,10 +422,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