mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
1 parent
12109a1cc1
commit
ba18f02e94
1 file changed
+1
@@ -257,6 +257,7 @@ public class AbilityHelper
|
||||
|
||||
public static float calcKnockback(Entity user, Entity entity, ItemStack stack, ToolCore tool, NBTTagCompound toolTags, int baseDamage)
|
||||
{
|
||||
if(user == null) return 0;
|
||||
float knockback = 0;
|
||||
|
||||
if (entity instanceof EntityLivingBase && user instanceof EntityLivingBase)
|
||||
|
||||
Reference in new issue
Block a user