Closed lisacek closed 1 year ago
This has been something I did notice in the v1 plug-ins, but it wasn't consistent. Would you mind providing info on other plugins you use and what world the arena is in?
put yourself into adventure mode and even regular monsters wont attack you thats the point
I found the actual bug: whenever a waiting room isn't set, mobs don't attack the player. I'll fix this in the next production release
Describe the bug Plugin is setting players adventure mode which is preventing mobs from attacking players.
To Reproduce Steps to reproduce the behavior:
Expected behavior Mobs should be able to attack.
Screenshots https://github.com/Theguyhere0/villager-defense-minigame/blob/0a3e615f98c42e5612c77aa4062725f39fe77ed3/plugin/src/main/java/me/theguyhere/villagerdefense/plugin/tools/PlayerManager.java#L46
Server and plugin versions (please complete the following information):
Additional context I suggest using gamemode survival and handle blocking block destroy etc. differently. You are using method teleadventure even to teleport player in the arena which will keep him invencible.