mizarc / bell-claims

A comprehensive yet intuitive land claiming system for PaperMC servers, allowing players to protect their builds.
https://modrinth.com/plugin/bell-claims
MIT License
10 stars 5 forks source link

Fixed player splash potions not working and reworked potion dispense behaviour #115

Closed mizarc closed 2 weeks ago

mizarc commented 2 weeks ago

This was initially just supposed to be a fix of the dispenser flag overextending its protection to players throwing splash potions in claims, but ended up with a bit more than that.

Dispensed potions now disappear if they originated from outside the claim and landed inside the claim. The filtering of hostile mobs and passive mobs still apply if the splash happens outside the claim but affects entities inside the claim. This behaviour is also shared with lingering potions.

Another addition is the protection from witch potions, as witches throwing potions should not be able to affect passive mobs.