Fix enchantment registry reading (Minestom/Minestom#1902)

Signed-off-by: GoldenStack <goldenfire64yt@gmail.com>
(cherry picked from commit c5047b8037)
This commit is contained in:
GoldenStack 2023-07-13 17:37:58 -05:00 committed by mworzala
parent 80a4577940
commit 74020930be
No known key found for this signature in database
GPG Key ID: B148F922E64797C7

View File

@ -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);
}
}