mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Port.
This commit is contained in:
parent
aaba4bbd1f
commit
ce0f42f492
@ -62,8 +62,8 @@ object FluidUtils {
|
||||
* Lookup fluid taking into account flowing liquid blocks...
|
||||
*/
|
||||
def lookupFluidForBlock(block: Block): Fluid = {
|
||||
if (block == Blocks.flowing_lava) FluidRegistry.LAVA
|
||||
else if (block == Blocks.flowing_water) FluidRegistry.WATER
|
||||
if (block == Blocks.FLOWING_LAVA) FluidRegistry.LAVA
|
||||
else if (block == Blocks.FLOWING_WATER) FluidRegistry.WATER
|
||||
else FluidRegistry.lookupFluidForBlock(block)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user