From e47a4ea5140b0224034dee48747744408c03b324 Mon Sep 17 00:00:00 2001 From: David Quintana Date: Sun, 16 Dec 2018 20:04:37 +0100 Subject: [PATCH] Fix typo in patch, that was preventing the key assigned to the chat keybind from working while in a searchable tab in the creative GUI. (#5276) --- .../client/gui/inventory/GuiContainerCreative.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java.patch b/patches/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java.patch index 0bf125975..1999dbdb5 100644 --- a/patches/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java.patch +++ b/patches/minecraft/net/minecraft/client/gui/inventory/GuiContainerCreative.java.patch @@ -46,7 +46,7 @@ public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_) { this.field_195377_F = false; - if (field_147058_w != ItemGroup.field_78027_g.func_78021_a()) { -+ if (ItemGroup.field_78032_a[field_147058_w].hasSearchBar()) { ++ if (!ItemGroup.field_78032_a[field_147058_w].hasSearchBar()) { if (this.field_146297_k.field_71474_y.field_74310_D.func_197976_a(p_keyPressed_1_, p_keyPressed_2_)) { this.field_195377_F = true; this.func_147050_b(ItemGroup.field_78027_g);