From 007fad7847ef4ac192c79032029fa9921506fe1e Mon Sep 17 00:00:00 2001 From: shedaniel Date: Mon, 27 Dec 2021 01:19:25 +0800 Subject: Fix support for Enchantment Descriptions --- .../me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/src/main/java') diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java index 136429680..95504c6a6 100644 --- a/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java +++ b/runtime/src/main/java/me/shedaniel/rei/impl/common/entry/type/EntryRegistryImpl.java @@ -233,7 +233,9 @@ public class EntryRegistryImpl implements EntryRegistry { private MutableLong lastRefilterWarning = new MutableLong(-1); - private Collection> refilterNew(Collection> entries) { + @ApiStatus.Internal + @Override + public Collection> refilterNew(Collection> entries) { if (lastRefilterWarning != null) { if (lastRefilterWarning.getValue() > 0 && System.currentTimeMillis() - lastRefilterWarning.getValue() > 5000) { RoughlyEnoughItemsCore.LOGGER.warn("Detected runtime EntryRegistry modification, this can be extremely dangerous, or be extremely inefficient!"); -- cgit