|
@@ -975,12 +975,7 @@ public final class L2PcInstance extends L2Playable
|
|
@Override
|
|
@Override
|
|
public void run()
|
|
public void run()
|
|
{
|
|
{
|
|
- if (L2PcInstance.this == null)
|
|
|
|
- {
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- L2PcInstance.this.sendPacket(new ShortBuffStatusUpdate(0, 0, 0));
|
|
|
|
|
|
+ sendPacket(new ShortBuffStatusUpdate(0, 0, 0));
|
|
setShortBuffTaskSkillId(0);
|
|
setShortBuffTaskSkillId(0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -14878,7 +14873,7 @@ public final class L2PcInstance extends L2Playable
|
|
|
|
|
|
public void teleportBookmarkGo(int Id)
|
|
public void teleportBookmarkGo(int Id)
|
|
{
|
|
{
|
|
- if (!teleportBookmarkCondition(0) || (this == null))
|
|
|
|
|
|
+ if (!teleportBookmarkCondition(0))
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -14980,11 +14975,6 @@ public final class L2PcInstance extends L2Playable
|
|
|
|
|
|
public void teleportBookmarkAdd(int x, int y, int z, int icon, String tag, String name)
|
|
public void teleportBookmarkAdd(int x, int y, int z, int icon, String tag, String name)
|
|
{
|
|
{
|
|
- if (this == null)
|
|
|
|
- {
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if (!teleportBookmarkCondition(1))
|
|
if (!teleportBookmarkCondition(1))
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
@@ -15965,11 +15955,6 @@ public final class L2PcInstance extends L2Playable
|
|
@Override
|
|
@Override
|
|
public void run()
|
|
public void run()
|
|
{
|
|
{
|
|
- if (L2PcInstance.this == null)
|
|
|
|
- {
|
|
|
|
- // stopRecoGiveTask(); why is this here? it will lead to NPE
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
int reco_to_give;
|
|
int reco_to_give;
|
|
// 10 recommendations to give out after 2 hours of being logged in
|
|
// 10 recommendations to give out after 2 hours of being logged in
|
|
// 1 more recommendation to give out every hour after that.
|
|
// 1 more recommendation to give out every hour after that.
|
|
@@ -15998,12 +15983,7 @@ public final class L2PcInstance extends L2Playable
|
|
@Override
|
|
@Override
|
|
public void run()
|
|
public void run()
|
|
{
|
|
{
|
|
- if (L2PcInstance.this == null)
|
|
|
|
- {
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- L2PcInstance.this.sendPacket(new ExVoteSystemInfo(L2PcInstance.this));
|
|
|
|
|
|
+ sendPacket(new ExVoteSystemInfo(L2PcInstance.this));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|