[BUG] Mohist - If you try to block monster spawn -> Huge lags
Krosta8 opened this issue ยท 2 comments
Describe the bug
If you block monster spawn in region, the server will get TPS drop and massive lags (tested in night)
To Reproduce
Steps to reproduce the behavior:
- Create region
- Block monster spawn via flag
- Lags incoming
Server and plugins versions (please complete the following information):
- Server: Mohist 1.12.2 (build 532)
- Plugin Version: RedProtect-7.6.6-b324-Universal.jar
- Java Version: Java 1.8
Its seems the server its trying to spawn monsters intensively when the event is cancelled, more like, instead to wait to try to spawn again, its trying on every cancelled event. RedProtect have just few 20 lines of code to handle mob spawning.