Mojira Archive
MC-176384

CompassItem checks twice if LodestonePos tag exists

The bug

20w13b, Mojang names

The method net.minecraft.world.item.CompassItem.getLodestonePosition(Level, CompoundTag) checks twice if the item compound tag has a LodestonePos tag. One of these should probably be a check for the LodestoneDimension tag.
However, that check is not needed because the called method CompassItem.getLodestoneDimension does not fail if the tag does not exist.

Fixed

Marcono1234

[Mojang] slicedlime

2020-03-26, 11:43 PM

2020-04-07, 11:33 AM

2020-04-07, 11:33 AM

1

1

Plausible

Low

Items

20w13b

20w15a