Fixed Grid filters not updating Grid.

This commit is contained in:
raoulvdberge
2018-07-27 14:27:30 +02:00
parent 61b575c69a
commit c38bb10553
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@
- Made the Crafting Preview window bigger (raoulvdberge) - Made the Crafting Preview window bigger (raoulvdberge)
- Fixed crash log when opening Pattern Grid GUI (raoulvdberge) - Fixed crash log when opening Pattern Grid GUI (raoulvdberge)
- Fixed being able to put non fluid containers in Fluid Interface input slot (raoulvdberge) - Fixed being able to put non fluid containers in Fluid Interface input slot (raoulvdberge)
- Fixed Grid filters not updating Grid (raoulvdberge)
- Updated Russian translation (kellixon) - Updated Russian translation (kellixon)
- Overhauled and updated German translation (Cydhra) - Overhauled and updated German translation (Cydhra)

View File

@@ -44,7 +44,7 @@ public class ItemHandlerFilter extends ItemHandlerBase {
} }
} }
if (FMLCommonHandler.instance().getSide() == Side.CLIENT && !filters.isEmpty()) { if (FMLCommonHandler.instance().getSide() == Side.CLIENT) {
GuiBase.executeLater(GuiGrid.class, grid -> grid.getView().sort()); GuiBase.executeLater(GuiGrid.class, grid -> grid.getView().sort());
} }
} }