Merge pull request #93 from Gerrygames/1.13_items

fix enchantments
This commit is contained in:
Myles 2019-02-15 22:15:44 +00:00 committed by GitHub
commit 4574d9d9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()));
enchantments.add(enchEntry);
ench.add(enchEntry);
}
}
}