Sorry, we don't support your browser.  Install a modern browser

Remove ushort cast in the MoveItem function on the client#430

Everything in the code that deals with moving items is all int32’s except one cast in the RPC message to move an item. Some modded servers tend to have stack sizes greater than the max value of ushort (65,535) and therefore requiring hacky code to allow movement of item stacks greater than 65k.

Removing this cast will benefit modded with no downside to vanilla as stack sizes can never be greater than 1k

a year ago
6
Changed the status to
Researching
a year ago
8

Finally. Can’t believe.
p.s Merge? xD
https://rust.nolt.io/177

a year ago
3
Changed the status to
In Progress
a year ago
2
Changed the status to
Completed
a year ago
3