fix: enchanting

fixes:
fishing rod crashing in enchantment table
updated more swfs that were not updated in a recent merge
sort costs in ascending order
randomise enchantment seeds for new players
This commit is contained in:
SevenToaster509
2026-04-17 08:26:13 +01:00
parent add784b259
commit 2b5a46a4fa
7 changed files with 36 additions and 9 deletions

View File

@@ -4015,6 +4015,12 @@ void ClientConnection::handleCustomPayload(shared_ptr<CustomPayloadPacket> custo
else if (a == -2) {
done = true;
}
else if (a == -4) {
for (int i = 0; i < 3; i++) {
minecraft->localplayers[m_userIndex]->enchantmentEntries[i].id = -3;
}
done = true;
}
else {
if (firstInGroup) {
temp.id = a;