Improve tank server->client syncing, closes https://github.com/TechReborn/TechReborn/issues/1291

This commit is contained in:
modmuss50 2017-10-08 19:28:52 +01:00
parent 62366c8085
commit 18be69aaf7
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -80,6 +80,8 @@ public abstract class TileBaseFluidGenerator extends TilePowerAcceptor implement
FluidUtils.drainContainers(this.tank, this.inventory, 0, 1);
FluidUtils.fillContainers(this.tank, this.inventory, 0, 1, this.tank.getFluidType());
}
tank.setTileEntity(this);
tank.compareAndUpdate();
this.ticksSinceLastChange = 0;
}