Search in sources :

Example 1 with Invitation

use of com.massivecraft.factions.entity.Invitation in project Conquer by xXAndrew28Xx.

the class MSFaction method invite.

@Override
public void invite(ConquerPlayer player) {
    MPlayer mPlayer = ((MSPlayer) player).getRawPlayer();
    Invitation invitation = new Invitation("@console", System.currentTimeMillis());
    faction.invite(mPlayer.getId(), invitation);
}
Also used : Invitation(com.massivecraft.factions.entity.Invitation) MPlayer(com.massivecraft.factions.entity.MPlayer)

Aggregations

Invitation (com.massivecraft.factions.entity.Invitation)1 MPlayer (com.massivecraft.factions.entity.MPlayer)1