diff options
| author | Danielshe <daniel@shedaniel.me> | 2019-09-10 22:22:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-10 22:22:54 +0800 |
| commit | 17126126701c927670e9a432d5d03ef2410a0a15 (patch) | |
| tree | 42dd01e6f3514bd153998c27dd956b08eecd893a /src/main/java | |
| parent | 1b71bba8dde93522c400afb7111bd72d4fe5993e (diff) | |
| download | RoughlyEnoughItems-17126126701c927670e9a432d5d03ef2410a0a15.tar.gz RoughlyEnoughItems-17126126701c927670e9a432d5d03ef2410a0a15.tar.bz2 RoughlyEnoughItems-17126126701c927670e9a432d5d03ef2410a0a15.zip | |
Update RoughlyEnoughItemsCore.java
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java b/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java index 077cce647..768c97dbd 100644 --- a/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java +++ b/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCore.java @@ -205,7 +205,7 @@ public class RoughlyEnoughItemsCore implements ClientModInitializer { final Identifier recipeButtonTex = new Identifier("textures/gui/recipe_button.png"); AtomicLong lastSync = new AtomicLong(-1); ClothClientHooks.SYNC_RECIPES.register((minecraftClient, recipeManager, synchronizeRecipesS2CPacket) -> { - if (lastSync.get() > 0 && System.currentTimeMillis() - lastSync.get() > 5000) { + if (lastSync.get() > 0 && System.currentTimeMillis() - lastSync.get() <= 5000) { RoughlyEnoughItemsCore.LOGGER.warn("[REI] Suppressing Sync Recipes!"); return; } |
