1
2
Fork
You've already forked itemframes
2

remove duplicate entities again #3

Closed
fluxionary wants to merge 1 commit from fluxionary/itemframes:fix_entity_dupliation_again into master
pull from: fluxionary/itemframes:fix_entity_dupliation_again
merge into: tenplus1:master
tenplus1:master
First-time contributor
Copy link

with your most recent update (8f39564306), you've again made the entities static_save, which results in them duplicating the entity if the frame node loads before the entity is loaded.

this PR checks to see whether there's already an entity present both when the node loads, and also when the entity loads, and removes all duplicates found at either time.

with your most recent update (https://codeberg.org/tenplus1/itemframes/commit/8f39564306e041996815e40281070a0ebf0576e3), you've again made the entities static_save, which results in them duplicating the entity if the frame node loads before the entity is loaded. this PR checks to see whether there's already an entity present *both* when the node loads, and also when the entity loads, and removes all duplicates found at either time.

I had to revert the static_save as entities were always appearing as "air" and not updating until a fix was applied. Thank you for the fix :)

I had to revert the static_save as entities were always appearing as "air" and not updating until a fix was applied. Thank you for the fix :)
tenplus1 closed this pull request 2024年04月11日 09:16:24 +02:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tenplus1/itemframes!3
Reference in a new issue
tenplus1/itemframes
No description provided.
Delete branch "fluxionary/itemframes:fix_entity_dupliation_again"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?