Tidy up ClansAdmin Commands
This commit is contained in:
parent
f1b9a99576
commit
c265b235be
@ -372,15 +372,11 @@ public class ClansAdmin
|
||||
}
|
||||
else
|
||||
{
|
||||
Clans.getClanDataAccess().war(clan, clanAgainst, value, new Callback<ClanWarData>()
|
||||
Clans.getClanDataAccess().war(clan, clanAgainst, value, data ->
|
||||
{
|
||||
@Override
|
||||
public void run(ClanWarData data)
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("Clans Admin", "Updated war points against " + F.elem(data.getClanB())));
|
||||
Clans.messageClan(clan, F.main("Clans", "Your war points with " + F.elem(clanAgainst.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
Clans.messageClan(clanAgainst, F.main("Clans", "Your war points with " + F.elem(clan.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
}
|
||||
UtilPlayer.message(caller, F.main("Clans Admin", "Updated war points against " + F.elem(data.getClanB())));
|
||||
Clans.messageClan(clan, F.main("Clans", "Your war points with " + F.elem(clanAgainst.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
Clans.messageClan(clanAgainst, F.main("Clans", "Your war points with " + F.elem(clan.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -401,15 +397,11 @@ public class ClansAdmin
|
||||
}
|
||||
else
|
||||
{
|
||||
Clans.getClanDataAccess().war(clan, clanAgainst, value, new Callback<ClanWarData>()
|
||||
Clans.getClanDataAccess().war(clan, clanAgainst, value, data ->
|
||||
{
|
||||
@Override
|
||||
public void run(ClanWarData data)
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("Clans Admin", "Updated war points against " + F.elem(data.getClanB())));
|
||||
Clans.messageClan(clan, F.main("Clans", "Your war points with " + F.elem(clanAgainst.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
Clans.messageClan(clanAgainst, F.main("Clans", "Your war points with " + F.elem(clan.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
}
|
||||
UtilPlayer.message(caller, F.main("Clans Admin", "Updated war points against " + F.elem(data.getClanB())));
|
||||
Clans.messageClan(clan, F.main("Clans", "Your war points with " + F.elem(clanAgainst.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
Clans.messageClan(clanAgainst, F.main("Clans", "Your war points with " + F.elem(clan.getName()) + " have been edited by " + F.elem(caller.getName()) + "!"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user