Removed IllegalArgumentException thrown at RelationChanged.
This commit is contained in:
parent
2a81aa6f60
commit
ae2bedd27d
@ -69,7 +69,7 @@ public class RelationChanged implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
if (activeChar.isInvisible())
|
if (activeChar.isInvisible())
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("Cannot add insivisble character to multi relation packet");
|
return;
|
||||||
}
|
}
|
||||||
final Relation r = new Relation();
|
final Relation r = new Relation();
|
||||||
r._objId = activeChar.getObjectId();
|
r._objId = activeChar.getObjectId();
|
||||||
|
@ -77,7 +77,7 @@ public class RelationChanged implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
if (activeChar.isInvisible())
|
if (activeChar.isInvisible())
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("Cannot add insivisble character to multi relation packet");
|
return;
|
||||||
}
|
}
|
||||||
final Relation r = new Relation();
|
final Relation r = new Relation();
|
||||||
r._objId = activeChar.getObjectId();
|
r._objId = activeChar.getObjectId();
|
||||||
|
@ -77,7 +77,7 @@ public class RelationChanged implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
if (activeChar.isInvisible())
|
if (activeChar.isInvisible())
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("Cannot add insivisble character to multi relation packet");
|
return;
|
||||||
}
|
}
|
||||||
final Relation r = new Relation();
|
final Relation r = new Relation();
|
||||||
r._objId = activeChar.getObjectId();
|
r._objId = activeChar.getObjectId();
|
||||||
|
Loading…
Reference in New Issue
Block a user