Fix entities not correctly being able to be ridden under water.

This commit is contained in:
LexManos 2021-01-03 03:02:32 -08:00
parent 830d9699e3
commit b6a9274870
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public interface IForgeEntity extends ICapabilitySerializable<CompoundNBT>
*/
default boolean canBeRiddenInWater(Entity rider)
{
return this instanceof LivingEntity;
return getEntity().canBeRiddenInWater();
}
/**