mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-18 17:08:07 +01:00
Fix extendo grip applying knockback on arrow or tnt damage
This commit is contained in:
parent
5d0674067f
commit
b1b771ed2e
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ public class ExtendoGripItem extends Item {
|
|||
public static void attacksByExtendoGripHaveMoreKnockback(LivingKnockBackEvent event) {
|
||||
if (lastActiveDamageSource == null)
|
||||
return;
|
||||
Entity entity = lastActiveDamageSource.getTrueSource();
|
||||
Entity entity = lastActiveDamageSource.getImmediateSource();
|
||||
if (!(entity instanceof PlayerEntity))
|
||||
return;
|
||||
PlayerEntity player = (PlayerEntity) entity;
|
||||
|
|
Loading…
Reference in a new issue