Details
-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: 20w13b
-
Fix Version/s: 20w15a
-
Labels:None
-
Confirmation Status:Plausible
-
Category:Items
-
Mojang Priority:Low
Description
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.