mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix entities not correctly being able to be ridden under water.
This commit is contained in:
1 parent
830d9699e3
commit
b6a9274870
1 file changed
+1
-1
@@ -140,7 +140,7 @@ public interface IForgeEntity extends ICapabilitySerializable<CompoundNBT>
|
||||
*/
|
||||
default boolean canBeRiddenInWater(Entity rider)
|
||||
{
|
||||
return this instanceof LivingEntity;
|
||||
return getEntity().canBeRiddenInWater();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user