Update changelog
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
### 0.7.4
|
||||
**Bugfixes**
|
||||
- Updated to Forge 1922
|
||||
- Fixed wrong ascending / descending order in Grid
|
||||
- Fixed autocrafting not giving back byproducts
|
||||
- Performance improvements
|
||||
|
||||
### 0.7.3
|
||||
@@ -36,7 +38,7 @@
|
||||
### 0.6.14
|
||||
**Bugfixes**
|
||||
- Performance improvements
|
||||
- Fix wrong ascending / descending order in grid
|
||||
- Fixed wrong ascending / descending order in Grid
|
||||
|
||||
### 0.6.13
|
||||
**Bugfixes**
|
||||
|
@@ -35,9 +35,9 @@ public class GuiGrid extends GuiBase {
|
||||
@Override
|
||||
public int compare(ClientItemGroup left, ClientItemGroup right) {
|
||||
if (grid.getSortingDirection() == TileGrid.SORTING_DIRECTION_ASCENDING) {
|
||||
return Integer.valueOf(right.getStack().stackSize).compareTo(left.getStack().stackSize);
|
||||
} else if (grid.getSortingDirection() == TileGrid.SORTING_DIRECTION_DESCENDING) {
|
||||
return Integer.valueOf(left.getStack().stackSize).compareTo(right.getStack().stackSize);
|
||||
} else if (grid.getSortingDirection() == TileGrid.SORTING_DIRECTION_DESCENDING) {
|
||||
return Integer.valueOf(right.getStack().stackSize).compareTo(left.getStack().stackSize);
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -48,9 +48,9 @@ public class GuiGrid extends GuiBase {
|
||||
@Override
|
||||
public int compare(ClientItemGroup left, ClientItemGroup right) {
|
||||
if (grid.getSortingDirection() == TileGrid.SORTING_DIRECTION_ASCENDING) {
|
||||
return right.getStack().getDisplayName().compareTo(left.getStack().getDisplayName());
|
||||
} else if (grid.getSortingDirection() == TileGrid.SORTING_DIRECTION_DESCENDING) {
|
||||
return left.getStack().getDisplayName().compareTo(right.getStack().getDisplayName());
|
||||
} else if (grid.getSortingDirection() == TileGrid.SORTING_DIRECTION_DESCENDING) {
|
||||
return right.getStack().getDisplayName().compareTo(left.getStack().getDisplayName());
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user