From d7e4b0f480f0683a9f42ba066e0f11d1d6cfe244 Mon Sep 17 00:00:00 2001 From: acrylic-style Date: Thu, 14 Apr 2022 17:08:12 +0900 Subject: [PATCH] Change wording --- .../azisaba/azipluginmessaging/spigot/entity/PlayerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/entity/PlayerImpl.java b/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/entity/PlayerImpl.java index fc70d51..2b5a79e 100644 --- a/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/entity/PlayerImpl.java +++ b/spigot/src/main/java/net/azisaba/azipluginmessaging/spigot/entity/PlayerImpl.java @@ -123,7 +123,7 @@ public static void sendPacketFromPlayer(@NotNull org.bukkit.entity.Player player try { player.sendPluginMessage(SpigotPlugin.plugin, Protocol.CHANNEL_ID, data); } catch (IllegalArgumentException e) { - if (!success) throw new RuntimeException("Both Protocol.LEGACY_CHANNEL_ID and Protocol.CHANNEL_ID failed to send packet", e); + if (!success) throw new RuntimeException("Failed to send packet", e); } } }