Fixed beam drills not contributing to production
This commit is contained in:
Binary file not shown.
@@ -267,6 +267,7 @@ public class BeamDrill extends Block{
|
|||||||
Item drop = tile == null ? null : tile.wallDrop();
|
Item drop = tile == null ? null : tile.wallDrop();
|
||||||
if(items.total() < itemCapacity && drop != null){
|
if(items.total() < itemCapacity && drop != null){
|
||||||
items.add(drop, 1);
|
items.add(drop, 1);
|
||||||
|
produced(drop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
time %= drillTime;
|
time %= drillTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user