From 7314cec13ce8dbaf3f104151cf2030573225735f Mon Sep 17 00:00:00 2001 From: Alex 'mcmonkey' Goodwin Date: Mon, 8 Nov 2021 17:40:12 -0800 Subject: [PATCH] Fix broken build caused by #2685 --- .../net/citizensnpcs/nms/v1_8_R3/network/EmptyChannel.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/network/EmptyChannel.java b/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/network/EmptyChannel.java index da1a83867..230e1d689 100644 --- a/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/network/EmptyChannel.java +++ b/v1_8_R3/src/main/java/net/citizensnpcs/nms/v1_8_R3/network/EmptyChannel.java @@ -31,7 +31,10 @@ public class EmptyChannel extends AbstractChannel { if (major > 4 || minor > 1 || revision > 24) { updatedNetty = true; } - } catch (NumberFormatException | ArrayIndexOutOfBoundsException ignored) { + } + catch (ArrayIndexOutOfBoundsException ignored) { + } + catch (NumberFormatException ignored) { } } }