Closed Guigui220D closed 4 years ago
It's still not perfect but it's good enough for the moment
Inventory rectification is too strict : two stacks could be equivalent, for example amount being 0, but the game could rectify
If the player tries to use something he doesn't have in his hand but an other place in his inventory, we should be more understanding and accept the use but rectify the inventory.
If the player tries to use something he doesn't have in his hand but an other place in his inventory, we should be more understanding and accept the use but rectify the inventory.
8123ca3397a80b0de0602415a564d8fc840d61cc tried to do just this
If packets are lost or in wrong order, the inventory could be completely desynchronized and it could be very confusing for the player, he wouldn't have a way to know.