Potential NPE fix at RequestFriendDel clientpacket.
This commit is contained in:
parent
b35469b996
commit
73f77b55df
@ -99,8 +99,8 @@ public final class RequestFriendDel extends L2GameClientPacket
|
||||
{
|
||||
player.getFriendList().remove(Integer.valueOf(activeChar.getObjectId()));
|
||||
player.sendPacket(new FriendRemove(activeChar.getName(), 1));
|
||||
player.sendPacket(new FriendList(player));
|
||||
}
|
||||
player.sendPacket(new FriendList(player));
|
||||
activeChar.sendPacket(new FriendList(activeChar));
|
||||
}
|
||||
catch (Exception e)
|
||||
|
Loading…
Reference in New Issue
Block a user