Hopefully fix issue with arrows not doing damage
This commit is contained in:
parent
49af6f78ff
commit
b1fabcdd9c
@ -27,6 +27,7 @@ public class OnEntityDamageEvent implements Listener {
|
|||||||
DamageCause cause = event.getCause();
|
DamageCause cause = event.getCause();
|
||||||
switch (cause) {
|
switch (cause) {
|
||||||
case ENTITY_ATTACK:
|
case ENTITY_ATTACK:
|
||||||
|
case PROJECTILE:
|
||||||
// Do nothing about damage from an entity
|
// Do nothing about damage from an entity
|
||||||
// Any entity damage that makes it to here was already allowed by the EntityDamageByEntity event
|
// Any entity damage that makes it to here was already allowed by the EntityDamageByEntity event
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user