You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
Exception message clarified
This commit is contained in:
@@ -274,7 +274,7 @@ namespace Lidgren.Network
|
||||
throw new ArgumentNullException("recipient");
|
||||
|
||||
if (msg.IsSent)
|
||||
throw new NetException("Message has already been sent!");
|
||||
throw new NetException("Message has already been sent! To send to multiple recipients use SendMessage(... IEnumerable<NetConnection...)");
|
||||
if (channel < 0 || channel > 63)
|
||||
throw new NetException("Channel must be between 0 and 63");
|
||||
if (channel != 0 && (deliveryMethod == NetDeliveryMethod.Unreliable || deliveryMethod == NetDeliveryMethod.ReliableUnordered))
|
||||
|
||||
Reference in New Issue
Block a user