Fix Folia#421 #423

Open
Dueris wants to merge 1 commit from CraftCanvasMC/fix/421 into ver/1.21.11
Dueris commented 2025-12-29 01:57:00 +01:00 (Migrated from github.com)

The issue is caused by the ThrownEnderpeal#tick method, where it checks if the owner entity is alive, which calls isRemoved. In Folia, this is different, and causes ender pearls to vanish when switching dimensions.

The fix proposed is to replace the !isAlive() check(which is just isRemoved()) with getHealth() <= 0, which functions correctly with how it should work.

The issue is caused by the `ThrownEnderpeal#tick` method, where it checks if the `owner` entity is alive, which calls `isRemoved`. In Folia, this is different, and causes ender pearls to vanish when switching dimensions. The fix proposed is to replace the `!isAlive()` check(which is just `isRemoved()`) with `getHealth() <= 0`, which functions correctly with how it should work.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin CraftCanvasMC/fix/421:CraftCanvasMC/fix/421
git switch CraftCanvasMC/fix/421

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch ver/1.21.11
git merge --no-ff CraftCanvasMC/fix/421
git switch CraftCanvasMC/fix/421
git rebase ver/1.21.11
git switch ver/1.21.11
git merge --ff-only CraftCanvasMC/fix/421
git switch CraftCanvasMC/fix/421
git rebase ver/1.21.11
git switch ver/1.21.11
git merge --no-ff CraftCanvasMC/fix/421
git switch ver/1.21.11
git merge --squash CraftCanvasMC/fix/421
git switch ver/1.21.11
git merge --ff-only CraftCanvasMC/fix/421
git switch ver/1.21.11
git merge CraftCanvasMC/fix/421
git push origin ver/1.21.11
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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
Minecraft/Folia!423
No description provided.