added self clan create/delete messages
This commit is contained in:
parent
84303234fd
commit
a9afe1f068
@ -674,6 +674,9 @@ public class ClansUtility
|
|||||||
if (!data)
|
if (!data)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.main("Clans", "There was an error processing your request. Try again later"));
|
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."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -276,6 +276,9 @@ public class ClansCommand extends CommandBase<ClansManager>
|
|||||||
{
|
{
|
||||||
// Hopefully shouldn't happen!
|
// Hopefully shouldn't happen!
|
||||||
UtilPlayer.message(caller, F.main("Clans", "There was an error creating the clan. Please try again"));
|
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 + "."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -78,7 +78,7 @@ public class TaskEquipClass extends TutorialTask<TutorialGettingStarted>
|
|||||||
return;
|
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.setBuyPrice(0);
|
||||||
event.setSellPrice(0);
|
event.setSellPrice(0);
|
||||||
@ -109,7 +109,7 @@ public class TaskEquipClass extends TutorialTask<TutorialGettingStarted>
|
|||||||
public void run(Boolean data)
|
public void run(Boolean data)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}, event.getPlayer(), "TuToRialEE" + event.getItem().getType().name());
|
}, event.getPlayer(), "tuttoooooe" + event.getItem().getType().name());
|
||||||
_bought.add(event.getItem().getType());
|
_bought.add(event.getItem().getType());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ public class TaskUseAbility extends TutorialTask<TutorialGettingStarted>
|
|||||||
return;
|
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.setBuyPrice(0);
|
||||||
event.setSellPrice(0);
|
event.setSellPrice(0);
|
||||||
@ -101,7 +101,7 @@ public class TaskUseAbility extends TutorialTask<TutorialGettingStarted>
|
|||||||
public void run(Boolean data)
|
public void run(Boolean data)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}, event.getPlayer(), "TuToRialEE" + event.getItem().getType().name());
|
}, event.getPlayer(), "tuttoooooe" + event.getItem().getType().name());
|
||||||
_bought.add(event.getItem().getType());
|
_bought.add(event.getItem().getType());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user