Fixes for new Eclipse warnings.
This commit is contained in:
@@ -1587,7 +1587,7 @@ public class NpcBuffer extends Quest
|
||||
for (L2CubicInstance cubic : player.getCubics().values())
|
||||
{
|
||||
cubic.stopAction();
|
||||
player.getCubics().remove(cubic);
|
||||
player.getCubics().remove(cubic.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1852,7 +1852,7 @@ public class NpcBuffer extends Quest
|
||||
for (L2CubicInstance cubic : player.getCubics().values())
|
||||
{
|
||||
cubic.stopAction();
|
||||
player.getCubics().remove(cubic);
|
||||
player.getCubics().remove(cubic.getId());
|
||||
}
|
||||
}
|
||||
npc.broadcastPacket(new MagicSkillUse(npc, player, Integer.parseInt(eventParam1), 1, 1000, 0));
|
||||
@@ -1873,7 +1873,7 @@ public class NpcBuffer extends Quest
|
||||
for (L2CubicInstance cubic : player.getCubics().values())
|
||||
{
|
||||
cubic.stopAction();
|
||||
player.getCubics().remove(cubic);
|
||||
player.getCubics().remove(cubic.getId());
|
||||
}
|
||||
}
|
||||
npc.broadcastPacket(new MagicSkillUse(npc, player, Integer.parseInt(eventParam1), 1, 1000, 0));
|
||||
|
@@ -1084,7 +1084,7 @@ public class Duel
|
||||
if (cond != null)
|
||||
{
|
||||
cond.teleportBack();
|
||||
_playerConditions.remove(cond);
|
||||
_playerConditions.remove(player.getObjectId());
|
||||
}
|
||||
player.setIsInDuel(0);
|
||||
}
|
||||
|
@@ -603,7 +603,7 @@ public final class GameServerTable implements IXmlReader
|
||||
{
|
||||
for (GameServerAddress a : _addrs)
|
||||
{
|
||||
if (a.equals(addr))
|
||||
if (a.getAddress().equals(addr.getAddress()))
|
||||
{
|
||||
return a.getServerAddress();
|
||||
}
|
||||
|
Reference in New Issue
Block a user