#7 InventoryClickEvent is computationally heavy

Offen
vor 5 Jahren geöffnet von logocat · 0 Kommentare
logocat kommentierte vor 5 Jahren

Players sometime install some villager-trading MOD that automatically trades with villager.

However, they've found that DropEdit2's InventoryClickEvent is computationally heavy. I could use certain MOD that crashes servers with DropEdit2.

Is it possible to add some low burden detection on DropEdit2's GUI to prevent such problem? Like UI's name string comparison.

https://i.imgur.com/dKzqr1Z.png (Other plugins only spent around 50-70% tick usage)

Same problem on spigot. I use paper-spigot just for timings paste's graph display.

Thanks.

Players sometime install some villager-trading MOD that automatically trades with villager. However, they've found that DropEdit2's InventoryClickEvent is computationally heavy. I could use certain MOD that crashes servers with DropEdit2. Is it possible to add some low burden detection on DropEdit2's GUI to prevent such problem? Like UI's name string comparison. https://i.imgur.com/dKzqr1Z.png (Other plugins only spent around 50-70% tick usage) Same problem on spigot. I use paper-spigot just for timings paste's graph display. Thanks.
Anmelden, um an der Diskussion teilzunehmen.
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.