A lodestone compass located anywhere other than the player's inventory (a chest, an item frame, a dropped item, etc.) will not notice when the lodestone is broken, and will continue to point to the lodestone's original location. If the compass is returned to the player's inventory, the compass will immediately notice that the lodestone is gone and "break" as expected.
Linked issues
Comments 4
@violine1101 I actually don't think that's a duplicate. That bug is about how, when the lodestone is broken, the compass is still a Lodestone Compass, just a Lodestone Compass that points to nothing. This bug is about how, when the lodestone is broken, compasses in containers won't notice at all, and will continue to point to the lodestone's old location until they are placed back into the player's inventory.
And I just noticed we have another confirmed ticket for this already. Merged into that one. → MC-176084
Thank you for your report!
We're actually already tracking this issue in MC-175986, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki