Re-implement the main clans tutorial

This commit is contained in:
AlexTheCoder 2017-03-10 14:57:43 -05:00
parent 08b89fbb4b
commit 1574d93d1b

View File

@ -469,7 +469,7 @@ public class ClansMainTutorial extends Tutorial
// }
// });
/*if (!_taskManager.hasCompletedTask(event.getPlayer(), getTaskIdentifier()))
if (!_taskManager.hasCompletedTask(event.getPlayer(), getTaskIdentifier()))
{
ClanInfo clan = ClansManager.getInstance().getClan(event.getPlayer());
if (clan == null)
@ -481,7 +481,7 @@ public class ClansMainTutorial extends Tutorial
UtilPlayer.message(event.getPlayer(), F.main("Clans", "It seems you already have a clan here, so we can skip the tutorial"));
}
}
else */if (!event.getPlayer().hasPlayedBefore() || !event.getPlayer().getLocation().getWorld().equals(Spawn.getSpawnWorld()))
else if (!event.getPlayer().hasPlayedBefore() || !event.getPlayer().getLocation().getWorld().equals(Spawn.getSpawnWorld()))
{
Spawn.getInstance().teleport(event.getPlayer(), Spawn.getInstance().getSpawnLocation(), 2);
}