Prefixes are too long or something

This commit is contained in:
samczsun 2016-06-15 21:34:34 -04:00
parent 2d8b7f4ecd
commit 5c2a9d5807
No known key found for this signature in database
GPG Key ID: B0AFDBD87206805D
2 changed files with 1 additions and 14 deletions

View File

@ -43,15 +43,6 @@ public class CreateClanGoal extends ObjectiveGoal<ClanObjective>
}
@EventHandler
public void onClanPreCreate(ClanCreatedEvent event)
{
if (contains(event.getFounder()))
{
event.setName("TUTORIAL-" + event.getName());
}
}
@EventHandler
public void onClanCreate(ClanCreationCompleteEvent event)
{

View File

@ -47,11 +47,7 @@ public class DisbandClanGoal extends ObjectiveGoal<FinalObjective>
{
return;
}
if (!event.getClan().getName().startsWith("TUTORIAL-")) // How???
{
UtilPlayer.message(event.getDisbander(), F.main("Clans", "Something has gone terribly wrong while disbanding your clan"));
return;
}
event.setCancelled(true);
UtilPlayer.message(event.getDisbander(), F.main("Clans", "You have disbanded your Tutorial Clan."));