added self clan create/delete messages

This commit is contained in:
NewGarbo 2015-11-29 02:54:40 +00:00
parent 84303234fd
commit a9afe1f068
4 changed files with 10 additions and 4 deletions

View File

@ -674,6 +674,9 @@ public class ClansUtility
if (!data)
{
UtilPlayer.message(caller, F.main("Clans", "There was an error processing your request. Try again later"));
}else
{
UtilPlayer.message(caller, F.main("Clans", "You disbanded your Clan."));
}
}
});

View File

@ -276,6 +276,9 @@ public class ClansCommand extends CommandBase<ClansManager>
{
// Hopefully shouldn't happen!
UtilPlayer.message(caller, F.main("Clans", "There was an error creating the clan. Please try again"));
}else
{
UtilPlayer.message(caller, F.main("Clans", "You created Clan " + C.cYellow + data.getName() + C.cGray + "."));
}
}
});

View File

@ -78,7 +78,7 @@ public class TaskEquipClass extends TutorialTask<TutorialGettingStarted>
return;
}
if (!TaskManager.Instance.hasCompletedTask(event.getPlayer(), "TuToRialEE" + event.getMaterial().name()) && !_bought.contains(event.getMaterial()))
if (!TaskManager.Instance.hasCompletedTask(event.getPlayer(), "tuttoooooe" + event.getMaterial().name()) && !_bought.contains(event.getMaterial()))
{
event.setBuyPrice(0);
event.setSellPrice(0);
@ -109,7 +109,7 @@ public class TaskEquipClass extends TutorialTask<TutorialGettingStarted>
public void run(Boolean data)
{
}
}, event.getPlayer(), "TuToRialEE" + event.getItem().getType().name());
}, event.getPlayer(), "tuttoooooe" + event.getItem().getType().name());
_bought.add(event.getItem().getType());
}
}

View File

@ -70,7 +70,7 @@ public class TaskUseAbility extends TutorialTask<TutorialGettingStarted>
return;
}
if (!TaskManager.Instance.hasCompletedTask(event.getPlayer(), "TuToRialEE" + event.getMaterial().name()) && !_bought.contains(event.getMaterial()))
if (!TaskManager.Instance.hasCompletedTask(event.getPlayer(), "tuttoooooe" + event.getMaterial().name()) && !_bought.contains(event.getMaterial()))
{
event.setBuyPrice(0);
event.setSellPrice(0);
@ -101,7 +101,7 @@ public class TaskUseAbility extends TutorialTask<TutorialGettingStarted>
public void run(Boolean data)
{
}
}, event.getPlayer(), "TuToRialEE" + event.getItem().getType().name());
}, event.getPlayer(), "tuttoooooe" + event.getItem().getType().name());
_bought.add(event.getItem().getType());
}
}