mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-19 11:49:35 +00:00
1 parent
4f763cac6e
commit
e78dd080e2
1 file changed
+2
-2
@@ -50,11 +50,11 @@ public class TileEntityCompressor extends TileLudicrous implements ISidedInvento
|
||||
packet = true;
|
||||
}
|
||||
}
|
||||
if (progress >= target && processing != null && (output == null || (output.isItemEqual(processing) && output.stackSize < output.getMaxStackSize()))) {
|
||||
if (progress >= target && processing != null && (output == null || (output.isItemEqual(processing) && output.stackSize + processing.stackSize <= output.getMaxStackSize()))) {
|
||||
if(output == null)
|
||||
output = processing.copy();
|
||||
else if(output.isItemEqual(processing))
|
||||
output.stackSize++;
|
||||
output.stackSize+= processing.stackSize;
|
||||
|
||||
progress -= target;
|
||||
if(progress == 0) {
|
||||
|
||||
Reference in new issue
Block a user