Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear owner after put memory card into inventory manager #635

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

zyxkad
Copy link
Collaborator

@zyxkad zyxkad commented Jun 14, 2024

PLEASE READ THE GUIDELINES BEFORE MAKING A CONTRIBUTION

  • Please check if the PR fulfills these requirements
  • The commit message are well described
  • Docs have been added / updated (for features or maybe bugs which were noted). If not, please update the needed documentation here. This is not mandatory
  • All changes have fully been tested

@zyxkad zyxkad requested a review from SirEndii June 14, 2024 15:24
Copy link
Member

@SirEndii SirEndii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic looks good to me and good that we switched to UUID instead of username
Sorry for late review, I am not as often on my computer

tooltip.add(EnumColor.buildTextComponent(Component.translatable("item.advancedperipherals.tooltip.memory_card.bound", stack.getOrCreateTag().getString("owner"))));

CompoundTag data = stack.getOrCreateTag();
// TODO: remove the owner name field
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this marked as TODO? For backwards compatibility?
If so, please mark a version after the TODO or improve the todo comment to explain that
Like TODO - 1.21: xyz

@zyxkad zyxkad requested a review from SirEndii June 18, 2024 20:58
@SirEndii SirEndii merged commit 684432c into IntelligenceModding:dev/1.19.2 Jun 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inventory Manager should bind player directly to the block instead of using memory card
2 participants