Bad performance of signs (permission assignment in general?)
svenar-nl opened this issue ยท 1 comments
I'm not a dummy, so I've checked these
- I am not using any other permission management plugin
- I use the latest available version of PowerRanks
- I am a human
Describe the bug
Performance of the signs (setranks) is terrible
Performance log:
Task: PowerPermissibleBase$1(Single)
- Pct Total: 58.33%
- Pct Tick: 426.95%
- Total: 8.75 s
- Avg: 213.47 ms
- PerTick: 0.2
OnInteract::onPlayerInteract(PlayerInteractEvent)
- Pct Total: 0.70%
- Pct Tick: 18.96%
- Total: 0.10 s
- Avg: 9.48 ms
- PerTick: 0.1
To Reproduce
Steps to reproduce the behavior:
- Create a PowerRanks setrank sign with any rank
- Click on that sign multiple times
- Server freezes
Expected behavior
No lagg
Desktop (please complete the following information):
- OS: Linux
- Server type: SPigot
- Minecraft Version: 1.16.4
- PowerRanks version: 1.9.2