Closed Tamago4a closed 2 months ago
This, if anything, is a bug in EXILED, and should be reported to them. It uses Player.List and that list should not contain NPCs.
This could be adjusted in the plugin, but I don't care enough to do so, willing to accept a PR for this.
Got it. I thought it was your mistake. Okay, I'll make a bug report to exiled.
Although I don't quite understand. Why then is the number of players in the server list displayed correctly?
Describe the bug: Discord bot displays player count incorrectly. It counts NPCs when it shouldn't.
To Reproduce: Steps to reproduce the behavior:
EXILED Version: 8.11.0