Adjust machine crafting logic

This commit is contained in:
zontreck 2024-01-12 00:39:19 -07:00
parent 99503453c2
commit e7b3c4b368
4 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ public class CompressionChamberMenu extends AbstractContainerMenu
if(progress != 0 && max != 0)
{
int percent = progress * progressArrow / max;
int percent = progress * max / progressArrow;
return percent;
}

View file

@ -63,7 +63,7 @@ public class ItemScrubberMenu extends AbstractContainerMenu
if(progress != 0 && max != 0)
{
int percent = progress * progressArrow / max;
int percent = progress * max / progressArrow;
return percent;
}

View file

@ -63,7 +63,7 @@ public class MagicalScrubberMenu extends AbstractContainerMenu
if(progress != 0 && max != 0)
{
int percent = progress * progressArrow / max;
int percent = progress * max / progressArrow;
return percent;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB