Rework the /f invite command to be a parentcommand.
This commit is contained in:

committed by
Olof Larsson

parent
29a4feeff6
commit
486f8ac957
@ -482,6 +482,18 @@ public class Faction extends Entity<Faction> implements EconomyParticipator
|
||||
this.setInvited(mplayer.getId(), invited);
|
||||
}
|
||||
|
||||
public List<MPlayer> getInvitedMPlayers()
|
||||
{
|
||||
List<MPlayer> mplayers = new ArrayList<MPlayer>();
|
||||
|
||||
for (String id : this.getInvitedPlayerIds())
|
||||
{
|
||||
MPlayer mplayer = MPlayer.get(id);
|
||||
mplayers.add(mplayer);
|
||||
}
|
||||
return mplayers;
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// FIELD: relationWish
|
||||
// -------------------------------------------- //
|
||||
|
Reference in New Issue
Block a user