Skip to content

Commit

Permalink
Change wording
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Apr 14, 2022
1 parent a094d4e commit d7e4b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit d7e4b0f

Please sign in to comment.