Compare commits

..

No commits in common. "33b5f441c130cd30e7c506512bca0e684d5f60f6" and "cccc7df4409aff5a48341b0796cd0dfbf8187758" have entirely different histories.

3 changed files with 4 additions and 8 deletions

View file

@ -14,4 +14,4 @@ botania=1.16.2-405
jei_version=jei-1.16.5:7.7.1.137 jei_version=jei-1.16.5:7.7.1.137
version_major=2 version_major=2
version_minor=6 version_minor=5

View file

@ -56,13 +56,9 @@ public class ScreenWand extends Screen
} }
@Override @Override
public boolean keyPressed(int keyCode, int scanCode, int modifiers) { public boolean charTyped(char character, int code) {
if (Minecraft.getInstance().gameSettings.keyBindInventory.matchesKey(keyCode, scanCode)) { if(character == 'e') closeScreen();
this.closeScreen(); return super.charTyped(character, code);
return true;
} else {
return super.keyPressed(keyCode, scanCode, modifiers);
}
} }
private void createButton(int cx, int cy, IOption<?> option) { private void createButton(int cx, int cy, IOption<?> option) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB