Make lookupFluidForBlock work for flowing water and lava (#4675)
This commit is contained in:
parent
4242f89c75
commit
5ace86da12
|
@ -316,6 +316,14 @@ public abstract class FluidRegistry
|
|||
}
|
||||
fluidBlocks = tmp;
|
||||
}
|
||||
if (block == Blocks.FLOWING_WATER)
|
||||
{
|
||||
block = Blocks.WATER;
|
||||
}
|
||||
else if (block == Blocks.FLOWING_LAVA)
|
||||
{
|
||||
block = Blocks.LAVA;
|
||||
}
|
||||
return fluidBlocks.get(block);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue