dniym/IllegalStack

PrepareInventoryResultEvent deprecated

Closed this issue · 1 comments

Required Information

  • FAVS Version Number (/version IllegalStack): IllegalStack v2.6.1
  • Spigot/Paper Version Number (/version): Paper 1.19.3-328
  • Output of /version:
> version
[22:24:45 INFO]: This server is running Paper version git-Paper-328 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: c919e94)
You are running the latest version

Describe the bug
PrepareInventoryResultEvent deprecated

On server start-up

[Server thread/WARN]: [IllegalStack] "IllegalStack v2.6.1" has registered a listener for org.bukkit.event.inventory.PrepareInventoryResultEvent on method "public void main.java.me.dniym.listeners.ProtectionListener.onRepairAttempt(org.bukkit.event.inventory.PrepareAnvilEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dNiym].

To Reproduce
Steps to reproduce the behavior:

  1. Start server
  2. Review log

Plugins being used on the server
N/A

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
  • I made sure I am using an up-to-date version of IllegalStack
  • I made sure the bug/error is not caused by any other plugin

Confirmed fixed by Paper 1.19.3-330. Thanks to blablubbabc for encouraging them to fix it.