Fix entities not correctly being able to be ridden under water.
This commit is contained in:
parent
830d9699e3
commit
b6a9274870
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ public interface IForgeEntity extends ICapabilitySerializable<CompoundNBT>
|
|||
*/
|
||||
default boolean canBeRiddenInWater(Entity rider)
|
||||
{
|
||||
return this instanceof LivingEntity;
|
||||
return getEntity().canBeRiddenInWater();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue