Slimefun

Slimefun

3M Downloads

ItemListener (PlayerInteractEvent) need to optimize

andris155 opened this issue ยท 0 comments

commented

Description (Required)

ItemListener (PlayerInteractEvent) requires a lot of CPU.
Need to optimize this event.

Steps to reproduce the Issue (Required)

Use Slimefun with 20+ players server.

Expected behavior (Required)

ItemListener (PlayerInteractEvent) don't requires a lot of CPU.

Server Log / Error Report

Annotation 2019-12-29 210718
https://timings.aikar.co/?id=430ffb9114af4cc982a47d23af3a3503

Environment (Required)

  • Minecraft Version: 1.15.1 (Paper)
  • Slimefun Version: 384 (git e2d58f7)
  • CS-CoreLib Version: 79 (git ec5b4c24)