Use party if a player has it.
This commit is contained in:
parent
6f3d7dcd29
commit
a6360249b7
@ -19,6 +19,6 @@ public class CancelNextGameCommand extends CommandBase<ArcadeManager>
|
|||||||
@Override
|
@Override
|
||||||
public void Execute(Player caller, String[] args)
|
public void Execute(Player caller, String[] args)
|
||||||
{
|
{
|
||||||
Plugin.getNextBestGameManager().cancel(caller, null);
|
Plugin.getNextBestGameManager().cancel(caller, Plugin.getPartyManager().getParty(caller));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user