mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Fixed bad cast, fixed tubes and pipes losing capacity after world load
This commit is contained in:
1 parent
0b04665055
commit
fa71836e0d
4 files changed
+12
-8
No files matched your search
@@ -295,13 +295,14 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
||||
for(Coord4D coord : possibleAcceptors.keySet())
|
||||
{
|
||||
EnumSet<ForgeDirection> sides = acceptorDirections.get(coord);
|
||||
TileEntity tile = coord.getTileEntity(getWorld());
|
||||
|
||||
if(sides == null || sides.isEmpty())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
IFluidHandler acceptor = (IFluidHandler)coord.getTileEntity(getWorld());
|
||||
|
||||
IFluidHandler acceptor = (IFluidHandler)tile;
|
||||
|
||||
for(ForgeDirection side : sides)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user