Adjust machine crafting logic
This commit is contained in:
parent
99503453c2
commit
e7b3c4b368
4 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 |
Reference in a new issue