Skip to content

Fix for physics lock-up in 1.21.4#3883

Open
sampritchard03 wants to merge 1 commit into
PrismarineJS:masterfrom
sampritchard03:sam_fixes
Open

Fix for physics lock-up in 1.21.4#3883
sampritchard03 wants to merge 1 commit into
PrismarineJS:masterfrom
sampritchard03:sam_fixes

Conversation

@sampritchard03
Copy link
Copy Markdown

During my testing (and also documented here: #3882), bots on at least 1.21.4 will permanently lock up when hit by an arrow. This is because prismarine physics returns NaN for pos.x and pos.z. This edit just catches and rejects the illegal position, shouldn't affect anything that already works.

During my testing, bots on at least 1.21.4 will permanently lock up when hit by an arrow. This is because prismarine physics returns NaN for pos.x and pos.z. This fix just rejects unsafe physics ticks.
@MICKYcyber
Copy link
Copy Markdown

well whats the fucking fix

@GenerelSchwerz
Copy link
Copy Markdown
Contributor

this fix is a stop measure, review #3889 for the actual fix.

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.

3 participants