Fix desync issue
This commit is contained in:
parent
e8b1439157
commit
c58d2e8a36
|
@ -85,8 +85,10 @@ public class BlockFunnel extends BlockTE<TileEntityFunnel> {
|
||||||
TileEntityFunnel te = getTileEntity(world, pos);
|
TileEntityFunnel te = getTileEntity(world, pos);
|
||||||
|
|
||||||
if (FluidUtils.fillHandlerWithContainer(world, te.tank, player, hand)) {
|
if (FluidUtils.fillHandlerWithContainer(world, te.tank, player, hand)) {
|
||||||
|
te.save();
|
||||||
return true;
|
return true;
|
||||||
} else if (FluidUtils.fillContainerFromHandler(world, te.tank, player, hand, te.tank.getFluid())) {
|
} else if (FluidUtils.fillContainerFromHandler(world, te.tank, player, hand, te.tank.getFluid())) {
|
||||||
|
te.save();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue