aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-26 13:13:37 +0200
committernea <nea@nea.moe>2023-08-26 13:13:37 +0200
commit8f2abee841a01427cea2268d89fb0c0bed86f963 (patch)
treea026d6e0e0abafc73c73252d281adaa8963cda65 /src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt
parentd412e463fd64ba72d220ffd42ba5e6fd3847e456 (diff)
downloadfirmament-8f2abee841a01427cea2268d89fb0c0bed86f963.tar.gz
firmament-8f2abee841a01427cea2268d89fb0c0bed86f963.tar.bz2
firmament-8f2abee841a01427cea2268d89fb0c0bed86f963.zip
Close recipe list after clicking on highlighter
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt b/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt
index 7f7110f..b39dafa 100644
--- a/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt
+++ b/src/main/kotlin/moe/nea/firmament/rei/FirmamentReiPlugin.kt
@@ -25,8 +25,8 @@ import net.minecraft.text.Text
import net.minecraft.util.Identifier
import moe.nea.firmament.events.HandledScreenPushREIEvent
import moe.nea.firmament.features.inventory.CraftingOverlay
-import moe.nea.firmament.recipes.SBCraftingRecipe
-import moe.nea.firmament.recipes.SBForgeRecipe
+import moe.nea.firmament.rei.recipes.SBCraftingRecipe
+import moe.nea.firmament.rei.recipes.SBForgeRecipe
import moe.nea.firmament.repo.RepoManager
import moe.nea.firmament.util.SkyblockId
import moe.nea.firmament.util.skyblockId
@@ -52,7 +52,7 @@ class FirmamentReiPlugin : REIClientPlugin {
}
if (context.isActuallyCrafting)
CraftingOverlay.setOverlay(screen, display)
- return@TransferHandler TransferHandler.Result.createSuccessful()
+ return@TransferHandler TransferHandler.Result.createSuccessful().blocksFurtherHandling(true)
})
}