add a healthy 1 sec delay between JEI transfer updates to avoid horrible

GC pressure
This commit is contained in:
PrototypeTrousers
2022-10-25 22:32:53 -03:00
parent b2847677ed
commit 9bcf45b7e2
6 changed files with 54 additions and 26 deletions
@@ -42,7 +42,7 @@ public class NonBlockingItems {
continue;
}
if (ModItemMeta[0].equals("gregtech") && Platform.isModLoaded("gregtech")) {
if (ModItemMeta[0].equals("gregtech") && Platform.GTLoaded) {
boolean found = false;
for (MetaItem<?> metaItem : MetaItem.getMetaItems()) {
MetaItem<?>.MetaValueItem metaItem2 = metaItem.getItem(ModItemMeta[1]);