mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Bounce projectiles, if they are cancelled.
This commit is contained in:
parent
526df76ca9
commit
5006c68af2
@ -125,6 +125,7 @@ public class EssentialsProtectEntityListener extends EntityListener
|
||||
&& !user.isAuthorized("essentials.protect.damage.disable")))
|
||||
{
|
||||
event.setCancelled(true);
|
||||
((EntityDamageByProjectileEvent)event).setBounce(true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user