This commit is contained in:
Anuken
2020-01-24 14:00:06 -05:00
parent 2fe6a3525b
commit f2bc3e78d7
2 changed files with 1 additions and 2 deletions

View File

@@ -134,8 +134,6 @@ public class GenericCrafter extends Block{
return outputItem != null; return outputItem != null;
} }
@Override @Override
public boolean shouldConsume(Tile tile){ public boolean shouldConsume(Tile tile){
if(outputItem != null && tile.entity.items.get(outputItem.item) >= itemCapacity){ if(outputItem != null && tile.entity.items.get(outputItem.item) >= itemCapacity){

View File

@@ -102,6 +102,7 @@ public class LiquidModule extends BlockModule{
@Override @Override
public void read(DataInput stream) throws IOException{ public void read(DataInput stream) throws IOException{
Arrays.fill(liquids, 0); Arrays.fill(liquids, 0);
total = 0f;
byte count = stream.readByte(); byte count = stream.readByte();
for(int j = 0; j < count; j++){ for(int j = 0; j < count; j++){