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

View file

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