forked from GeyserMC/Geyser
commit
bd6b4ec176
1 changed files with 3 additions and 1 deletions
|
@ -49,8 +49,10 @@ public class ShulkerEntity extends GolemEntity {
|
|||
}
|
||||
if (entityMetadata.getId() == 16) {
|
||||
Position position = (Position) entityMetadata.getValue();
|
||||
if (position != null) {
|
||||
metadata.put(EntityData.SHULKER_ATTACH_POS, Vector3i.from(position.getX(), position.getY(), position.getZ()));
|
||||
}
|
||||
}
|
||||
//TODO Outdated metadata flag SHULKER_PEAK_HEIGHT
|
||||
// if (entityMetadata.getId() == 17) {
|
||||
// int height = (byte) entityMetadata.getValue();
|
||||
|
|
Loading…
Reference in a new issue