Add back in ItemPanel.items as static

* Fixes crash in ThermalDyanmics [probably]
This commit is contained in:
Jason Mitchell committed 2020-01-20 09:42:39 -08:00
1 parent 3c5e180f9a
commit 2c0292c3e7
6 files changed
+40 -23

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ public class SearchField extends TextField implements ItemFilterProvider
@Override
public int getTextColour() {
if(ItemPanels.itemPanel.items.size() == 0) {
if(ItemPanels.itemPanel.realItems.size() == 0) {
return focused() ? 0xFFcc3300 : 0xFF993300;
} else {
return focused() ? 0xFFE0E0E0 : 0xFF909090;