Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

24M Downloads

[Bug] Spellbook permanently vanishing when opening Inscription Table twice (or more) before table UI

tomasjppedro opened this issue · 3 comments

commented

Observed behaviour

This is happening to me only when playing on a server (ATM9 1.0.8), couldn't replicate it in singleplayer as the UI opens pretty fast and there's no ping delay etc.

When opening an inscription table with a spellbook correctly equipped if you manage to click twice, before the UI opens, the book will vanish as it 'replaces' the first table UI with the second. It's not merely visual, but the spells stay in the table unless you close it without removing them, but the book is gone as soon as it happens. I believe it's cause of high latency as you can click multiple times before it opens the UI, while on singleplayer I wasn't able to do it even once.
I first encountered it without noticing because my mouse double clicks randomly as it's fairly old, so I inverted the mouse keys and attempted to do it in a normal way. Took a few tries but it is possible to do it with a healthy mouse (or just auto clicker I guess).

My guess is that the second time it opens, as the book is not equipped anymore since it was placed in the first table opening, it pulls nothing and places said nothing on the table, replacing the book that got pulled in the first instance and sending it into a limbo. If this is somehow caused by other mods in the modpack I'm sorry for the inconvenience, but it has only happened to me (at least for now) on my friends server because of my mouse and I figured how it happened through testing the steps that I went through when it happened.

Expected behaviour

Table should only open once without deleting the book.

Steps to reproduce

  1. Join a server with ~150ms of ping (had that much when it happened)
  2. Equip a spellbook
  3. Open the Inscription Table two or more times before the UI pops up
  4. Poof, book gone 🤕

Server Type

Dedicated Server

Crashlog

No response

Iron's Spells N Spellbooks version

1.20.1-3.4.0.8

Forge version

47.4.0

Other mods

All the Mods 9 - ATM9 (version 1.0.8)

Crashlog Check

  • I understand if this is a crashbug and I did not attach a crashlog, this will not be handled

Fabric Check

  • I understand if I am using Farbic APIs or Connector, this will not be handled
commented

the book never actually leaves your curio slot, are you sure the book is gone permanently? I cannot reproduce this even by simulating multiple menus opening at once through code

commented

I'm pretty sure, tried clicking or dropping the slot where it should be & relogging into the server and it never happened for a book to appear back in the slot or my inventory. As soon as it happens the spells are gone from the HUD as well so it's going somewhere somehow.

commented

same problem here, any fixes?