Update changelog

This commit is contained in:
Raoul Van den Berge
2016-05-28 16:45:10 +02:00
parent ed21ec0a45
commit 678edaeeb3
2 changed files with 7 additions and 5 deletions

View File

@@ -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**

View File

@@ -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;