From b1b771ed2ebdc93317a984c07693cc265c579832 Mon Sep 17 00:00:00 2001 From: Snownee Date: Thu, 14 Jan 2021 12:34:41 +0800 Subject: [PATCH] Fix extendo grip applying knockback on arrow or tnt damage --- .../create/content/curiosities/tools/ExtendoGripItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/curiosities/tools/ExtendoGripItem.java b/src/main/java/com/simibubi/create/content/curiosities/tools/ExtendoGripItem.java index c313f93ee..02d3c3bd3 100644 --- a/src/main/java/com/simibubi/create/content/curiosities/tools/ExtendoGripItem.java +++ b/src/main/java/com/simibubi/create/content/curiosities/tools/ExtendoGripItem.java @@ -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;