mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-29 14:25:03 +01:00
Fixed Potato Cannon Shooter Credit
Projectile and shooter were the wrong way round in the damage method. This resulted in some enchantments not taking effect, no EXP, and no contribution to killed stats.
This commit is contained in:
parent
a41053b896
commit
d9b40a0397
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ public class PotatoProjectileEntity extends AbstractHurtingProjectile implements
|
|||
}
|
||||
|
||||
private DamageSource causePotatoDamage() {
|
||||
return CreateDamageSources.potatoCannon(level(), getOwner(), this);
|
||||
return CreateDamageSources.potatoCannon(level(), this, getOwner());
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
Loading…
Reference in a new issue