mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 07:28:19 +01:00
Fix enchantment reading (#938)
This commit is contained in:
parent
ff7098a083
commit
e57e3ff305
@ -17,8 +17,8 @@ import java.util.UUID;
|
||||
@ApiStatus.Internal
|
||||
public final class ItemSerializers {
|
||||
public static final TagSerializer<EnchantmentEntry> ENCHANTMENT_SERIALIZER = new TagSerializer<>() {
|
||||
static final Tag<Short> LEVEL = Tag.Short("Level");
|
||||
static final Tag<String> ID = Tag.String("Id");
|
||||
static final Tag<Short> LEVEL = Tag.Short("lvl");
|
||||
static final Tag<String> ID = Tag.String("id");
|
||||
|
||||
@Override
|
||||
public @Nullable EnchantmentEntry read(@NotNull TagReadable reader) {
|
||||
|
Loading…
Reference in New Issue
Block a user