Fixed probable Fallen Emperor's Throne NPE.
This commit is contained in:
parent
086459920b
commit
7f2fd6cdcf
@ -91,8 +91,7 @@ public class FallenEmperorsThrone extends AbstractInstance
|
||||
case "beginning":
|
||||
{
|
||||
final Instance world = player.getInstanceWorld();
|
||||
final boolean SPAWNED = world.getParameters().getBoolean("SPAWNED", false);
|
||||
if (isInInstance(world) && !SPAWNED)
|
||||
if (isInInstance(world) && !world.getParameters().getBoolean("SPAWNED", false))
|
||||
{
|
||||
world.getParameters().set("SPAWNED", true);
|
||||
world.spawnGroup("FE_HELIOS1");
|
||||
|
@ -91,8 +91,7 @@ public class FallenEmperorsThrone extends AbstractInstance
|
||||
case "beginning":
|
||||
{
|
||||
final Instance world = player.getInstanceWorld();
|
||||
final boolean SPAWNED = world.getParameters().getBoolean("SPAWNED", false);
|
||||
if (isInInstance(world) && !SPAWNED)
|
||||
if (isInInstance(world) && !world.getParameters().getBoolean("SPAWNED", false))
|
||||
{
|
||||
world.getParameters().set("SPAWNED", true);
|
||||
world.spawnGroup("FE_HELIOS1");
|
||||
|
Loading…
Reference in New Issue
Block a user