Fix more recipes

This commit is contained in:
Vincent Lee committed 2019-04-11 23:50:32 -05:00
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()))