Fixed #1429
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
@@ -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++){
|
||||||
|
|||||||
Reference in New Issue
Block a user