mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Fix more recipes
This commit is contained in:
1 parent
aed98aaded
commit
48b52a9a86
110 files changed
+173
-229
No files matched your search
@@ -38,7 +38,7 @@ public class CorporeaInputHandler {
|
||||
public static Predicate<GuiScreen> supportedGuiFilter = gui -> gui instanceof GuiContainer;
|
||||
|
||||
@SubscribeEvent
|
||||
public static void buttonPressed(GuiScreenEvent.KeyboardKeyPressedEvent event) {
|
||||
public static void buttonPressed(GuiScreenEvent.KeyboardKeyPressedEvent.Pre event) {
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if(mc.world == null || !supportedGuiFilter.test(mc.currentScreen)
|
||||
|| ClientProxy.CORPOREA_REQUEST.isActiveAndMatches(InputMappings.getInputByCode(event.getKeyCode(), event.getScanCode()))
|
||||
|
||||
Reference in new issue
Block a user