Skip to content

Fixed Display showing item after removal#21

Open
TheOneAndOlee wants to merge 1 commit into
Let-s-Do-Collection:1.21.1from
TheOneAndOlee:1.21.1
Open

Fixed Display showing item after removal#21
TheOneAndOlee wants to merge 1 commit into
Let-s-Do-Collection:1.21.1from
TheOneAndOlee:1.21.1

Conversation

@TheOneAndOlee

Copy link
Copy Markdown

Addresses Issue #1036

Change(s) Made
Added an else statement so that if an item was removed, getUpdateTag in DisplayBlockEntity's returns a new, empty CompoundTag instead of nothing.

Why it fixes the problem
The else statement makes it so that the Display actually knows that the item was removed, fixing the issue. Before, if an item was removed from the display case, it would still be visible inside of it until a new item is placed or the Display is broken.

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.

1 participant