Skip to content

Commit

Permalink
Shulker attach position is now irrelevant, it seems
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed Jun 7, 2021
1 parent 715b9ab commit ea237f2
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession s
BlockFace blockFace = (BlockFace) entityMetadata.getValue();
metadata.put(EntityData.SHULKER_ATTACH_FACE, (byte) blockFace.ordinal());
}
//TODO - this was removed on Java Edition, but does Bedrock Edition still need it??
// 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()));
// }
// }

if (entityMetadata.getId() == 17) {
int height = (byte) entityMetadata.getValue();
Expand Down

0 comments on commit ea237f2

Please sign in to comment.