
protection.potion_types are prevented from applying to mobs even with pvp enabled
Closed this issue ยท 2 comments
What steps will reproduce the problem?
- Add potion types to protection.potion_types
- Set PVP in the chunk to true
- Use a dispenser/or throw said potion types on a mob
- Observe potion effect is not applied
What is the expected output?
The potion effect should be applied to the mob
Towny version
Towny version 0.101.1.6
Server version
UniverseSpigot version 1.21.4-ver/1.21.4-stable@4f6cdd2
Please use Pastebin.com to link the following files
- Your full server startup from the logs\latest.log: Pastebin refuses to let me paste it, but N/A as there is no error
- Your Towny config.yml: https://pastebin.com/6HPe718u
- Your townyperms.yml: https://pastebin.com/sJaWxumP
- Your log's error: N/A
(optional) If this is to do with permissions,
5. Your permissions file: N/A
(optional) If this is to do with chat,
6. Your chatconfig.yml: N/A
7. Your channels.yml: N/A
In the instance of the player throwing the potion it follows a destroy test, like we do with the other tests when protecting the protected entities.
I am not sure just at a glance which section of the code is handling dispenser-thrown potions yet.
Closed by #7839