Bundled lua with 5.7 crashes when you right click a farmer villager. math.random needs correct order #3576

Merged
ancientmarinerdev merged 1 commits from fix_villager_crash_with_bundle_lua into master 2023-03-22 05:45:21 +01:00

When playing 5.7 with bundled Lua, right click on villager crashes when args are in the incorrect order. math.random for bundled lua seems to want args in ascending order. I have checked other trades and it seems just this 1 was out of order.

Testing

Changed order, and it no longer crashes.

When playing 5.7 with bundled Lua, right click on villager crashes when args are in the incorrect order. math.random for bundled lua seems to want args in ascending order. I have checked other trades and it seems just this 1 was out of order. ### Testing Changed order, and it no longer crashes.
ancientmarinerdev added the
mobs
#P1 CRITICAL
labels 2023-03-22 01:16:03 +01:00
ancientmarinerdev added this to the 0.83.0 - Safe and Sound milestone 2023-03-22 01:16:11 +01:00
ancientmarinerdev force-pushed fix_villager_crash_with_bundle_lua from 371922a8f1 to 2440b73e67 2023-03-22 04:55:37 +01:00 Compare
ancientmarinerdev merged commit 15fce1130e into master 2023-03-22 05:45:21 +01:00
ancientmarinerdev deleted branch fix_villager_crash_with_bundle_lua 2023-03-22 05:45:27 +01:00
Member

Thanks for tanking care of this stuff.

Thanks for tanking care of this stuff.
Author
Owner

Thanks for tanking care of this stuff.

No worries. Hope we can make the upgrade as painless as possible for users. :)

> Thanks for tanking care of this stuff. No worries. Hope we can make the upgrade as painless as possible for users. :)
Sign in to join this conversation.
No reviewers
No project
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: VoxeLibre/VoxeLibre#3576
No description provided.