Removed IllegalArgumentException thrown at RelationChanged.

This commit is contained in:
MobiusDevelopment 2022-04-25 10:01:21 +00:00
parent 2a81aa6f60
commit ae2bedd27d
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ public class RelationChanged implements IClientOutgoingPacket
{
if (activeChar.isInvisible())
{
throw new IllegalArgumentException("Cannot add insivisble character to multi relation packet");
return;
}
final Relation r = new Relation();
r._objId = activeChar.getObjectId();

View File

@ -77,7 +77,7 @@ public class RelationChanged implements IClientOutgoingPacket
{
if (activeChar.isInvisible())
{
throw new IllegalArgumentException("Cannot add insivisble character to multi relation packet");
return;
}
final Relation r = new Relation();
r._objId = activeChar.getObjectId();

View File

@ -77,7 +77,7 @@ public class RelationChanged implements IClientOutgoingPacket
{
if (activeChar.isInvisible())
{
throw new IllegalArgumentException("Cannot add insivisble character to multi relation packet");
return;
}
final Relation r = new Relation();
r._objId = activeChar.getObjectId();