Fix desync issue

This commit is contained in:
Shadowfacts 2016-06-17 12:30:20 -04:00
parent e8b1439157
commit c58d2e8a36
1 changed files with 2 additions and 0 deletions

View File

@ -85,8 +85,10 @@ public class BlockFunnel extends BlockTE<TileEntityFunnel> {
TileEntityFunnel te = getTileEntity(world, pos);
if (FluidUtils.fillHandlerWithContainer(world, te.tank, player, hand)) {
te.save();
return true;
} else if (FluidUtils.fillContainerFromHandler(world, te.tank, player, hand, te.tank.getFluid())) {
te.save();
return true;
}
}