mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-02 08:39:59 +01:00
Handle shulker meta change
This commit is contained in:
parent
e679a0c2b0
commit
ee2959ac5d
@ -41,6 +41,15 @@ public class MetadataRewriter1_17To1_16_4 extends MetadataRewriter {
|
|||||||
metadata.setId(metadata.getId() + 1); // Ticks frozen added with id 7
|
metadata.setId(metadata.getId() + 1); // Ticks frozen added with id 7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type == Entity1_17Types.EntityType.SHULKER) {
|
||||||
|
// Attachment position removed
|
||||||
|
if (metadata.getId() == 16) {
|
||||||
|
metadatas.remove(metadata);
|
||||||
|
} else if (metadata.getId() > 16) {
|
||||||
|
metadata.setId(metadata.getId() - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user