fix #2167
This commit is contained in:
parent
87d33a710d
commit
f69237e211
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public class PipeItemsEmzuli extends PipeItemsWood implements IGuiReturnHandler
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (doRemove) {
|
if (doRemove) {
|
||||||
int stackSize = battery.useEnergy(1, stack.stackSize, false);
|
int stackSize = (int) Math.floor(battery.useEnergy(10, stack.stackSize * 10, false) / 10);
|
||||||
|
|
||||||
return inventory.decrStackSize(i, stackSize);
|
return inventory.decrStackSize(i, stackSize);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue