Shuffled inventory on disconnect #107

Closed
opened 2019-07-19 00:45:45 -04:00 by Piggered · 1 comment
Piggered commented 2019-07-19 00:45:45 -04:00 (Migrated from github.com)

If a player reconnects after their inventory has been opened using the plugin, their inventory will shuffle. After reconnecting, the target will:

  • Have their armor worn in upside-down, specifically;

    • Helmet will be worn on the boots slot;
    • Chestplate will be worn on the leggings slot;
    • Leggings will be worn on the chestplate slot;
    • Boots will be worn on the helmet slot;
  • Have their inventory be shifted 1 row up, specifically;

    • The 1st row of inventory will be shifted to the hotbar
    • The 2nd row of inventory will be shifted to the 1st row
    • The 3rd row of inventory will be shifted to the 2nd row
    • The hotbar will be shifted to the 3rd row of inventory
  • Have their off-hand slot unaffected (normal behavior).

No error is outputted in the console.

Tested on Spigot version 1.14.3-R0.1-SNAPSHOT with OpenInv 4.0.3.

Here is the inventory before reconnecting:
Before Reconnecting

And here is the inventory after reconnecting:
After Reconnecting

If a player reconnects after their inventory has been opened using the plugin, their inventory will shuffle. After reconnecting, the target will: * Have their armor worn in upside-down, specifically; * Helmet will be worn on the boots slot; * Chestplate will be worn on the leggings slot; * Leggings will be worn on the chestplate slot; * Boots will be worn on the helmet slot; * Have their inventory be shifted 1 row up, specifically; * The 1st row of inventory will be shifted to the hotbar * The 2nd row of inventory will be shifted to the 1st row * The 3rd row of inventory will be shifted to the 2nd row * The hotbar will be shifted to the 3rd row of inventory * Have their off-hand slot unaffected (normal behavior). No error is outputted in the console. **Tested on Spigot version 1.14.3-R0.1-SNAPSHOT with OpenInv 4.0.3.** Here is the inventory before reconnecting: ![Before Reconnecting](https://i.piggered.me/u/cin2k.png) And here is the inventory after reconnecting: ![After Reconnecting](https://i.piggered.me/u/lr18t.png)
Jikoo commented 2019-07-19 06:47:36 -04:00 (Migrated from github.com)

Thanks, the images are particularly useful. No one had provided much information before and I hadn't made the time to go do it myself.

Thanks, the images are particularly useful. No one had provided much information before and I hadn't made the time to go do it myself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minster586/OpenInv#107
No description provided.