Open piecesouliu opened 5 years ago
Which version are you using? Also if you could provide steps to reproduce, I can further debug this.
I'm using v1.2.1-alpha. I tested it in singleplayer mode today and it happened again. I had 12 different types of items and when I press tab and click the item I want to drop in the middle section item list (not the one on top of screen), it drops other items. I captured screen when it happened, let me show you.
https://drive.google.com/file/d/1ZueDdGJj2vxpYPkQ2BnYwP3W98HgrMoP/view?usp=sharing
Based on the code I'm seeing the game reuses item icons. Simply keeping track of the ItemIndex doesn't guarantee ItemIcons have the same ItemIndex as the DropItemController attached to it.
In multiplayer mode(haven't tested in singleplayer), on clicking an item sometimes results in dropping another item or even an item I currently don't have. I hope this problem can be fixed so the feature is much more usable. Thank you!