Merge pull request #5871 from Blazified/mc1.20.1/dev

Fixed Potato Cannon Shooter Credit
This commit is contained in:
simibubi 2024-07-25 20:25:30 +02:00 committed by GitHub
commit b625276eac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")