fix 1.8 villager id

This commit is contained in:
Bixilon 2020-12-02 18:56:10 +01:00
parent e38e45c20b
commit 9ca097ccae
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
4 changed files with 2 additions and 1 deletions

View File

@ -124,6 +124,7 @@ public class Slot {
if (hideFlags != 0) {
nbt.writeTag("HideFlags", new IntTag(hideFlags));
}
if (enchantments.size() > 0) {
if (mapping.getVersion().isFlattened()) {
ListTag enchantmentList = new ListTag(TagTypes.COMPOUND, new ArrayList<>());

File diff suppressed because one or more lines are too long