Fixed Story of Tauti seal archangel NPE.

This commit is contained in:
MobiusDevelopment
2021-02-28 04:00:53 +00:00
parent daf60e29cc
commit 7351e69330
8 changed files with 32 additions and 0 deletions

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);

View File

@@ -567,6 +567,10 @@ public class StoryOfTauti extends AbstractInstance
case SEAL_ARCHANGEL:
{
final Npc archangel = world.getNpc(SEAL_ARCHANGEL);
if (archangel == null)
{
return null;
}
if (world.isStatus(9) && archangel.isScriptValue(0))
{
archangel.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.DO_NOT_LUST_AFTER_WHAT_S_SEALED_HERE_IT_IS_NOT_YOURS);