mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Fix FluidUtil.getFluidHandler skipping some fluid tile entities (#4854)
This commit is contained in:
1 parent
0fca21fbc5
commit
76591f7245
1 file changed
+1
-1
@@ -531,7 +531,7 @@ public class FluidUtil
|
||||
return tileEntity.getCapability(CapabilityFluidHandler.FLUID_HANDLER_CAPABILITY, side);
|
||||
}
|
||||
}
|
||||
else if (block instanceof IFluidBlock)
|
||||
if (block instanceof IFluidBlock)
|
||||
{
|
||||
return new FluidBlockWrapper((IFluidBlock) block, world, blockPos);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user