We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65dcec commit c572587Copy full SHA for c572587
src/main/java/com/gregtechceu/gtceu/utils/input/KeyBind.java
@@ -67,7 +67,11 @@ public static void onInputEvent(InputEvent.Key event) {
67
}
68
69
if (!updating.isEmpty()) {
70
- GTNetwork.NETWORK.sendToServer(new CPacketKeysPressed(updating));
+ try {
71
+ GTNetwork.NETWORK.sendToServer(new CPacketKeysPressed(updating));
72
+ } catch (NullPointerException exception) {
73
+ GTCEu.LOGGER.error("Keys pressed packet failed to send with an exception", exception);
74
+ }
75
76
77
0 commit comments