fix enchantments

This commit is contained in:
Marco Neuhaus 2019-02-15 23:12:11 +01:00
parent 2d53b812ea
commit 934bd4d1db

View File

@ -653,7 +653,7 @@ public class BlockItemPackets1_13 extends BlockItemRewriter<Protocol1_12_2To1_13
) )
); );
enchEntry.put(new ShortTag("lvl", (Short) ((CompoundTag) enchantmentEntry).get("lvl").getValue())); enchEntry.put(new ShortTag("lvl", (Short) ((CompoundTag) enchantmentEntry).get("lvl").getValue()));
enchantments.add(enchEntry); ench.add(enchEntry);
} }
} }
} }