QuiltServerTools / HeyThatsMine

MIT License
12 stars 13 forks source link

[1.21] High CPU usage issues when opening containers #54

Closed spelunkhead closed 3 months ago

spelunkhead commented 4 months ago

On 1.21, there are a couple of scenarios I've found that cause high CPU:

  1. Whenever a container inventory is opened, a CPU core becomes pegged until the inventory screen is closed (this includes containers that were not placed with HTM enabled).
  2. Each time a player tries to open a container that they do not have access to, an additional CPU core becomes pegged. This seems to clear up as soon as the player opens a container they do have access to.

I am unable to replicate these issues on 1.20.1. I have not tested other versions between these.

Steps to reproduce scenario 1:

Steps to reproduce scenario 2:

spelunkhead commented 3 months ago

Ah, nevermind. This turned out to be a conflict with the Chest Logs mod.