Fix BattleArena API compatibility
This commit is contained in:
1 parent
7c6e7c36fd
commit
a5e843618c
1 file changed
+5
@@ -1,6 +1,8 @@
|
||||
package org.battleplugins.arena.spleef;
|
||||
|
||||
import org.battleplugins.arena.BattleArena;
|
||||
import org.battleplugins.arena.competition.phase.CompetitionPhaseType;
|
||||
import org.battleplugins.arena.competition.phase.phases.CountdownPhase;
|
||||
import org.battleplugins.arena.config.ArenaConfigParser;
|
||||
import org.battleplugins.arena.config.ParseException;
|
||||
import org.battleplugins.arena.event.action.EventActionType;
|
||||
@@ -25,6 +27,9 @@ public class ArenaSpleef extends JavaPlugin {
|
||||
public static EventActionType<PasteLayersAction> PASTE_LAYERS = EventActionType.create("paste-layers",
|
||||
PasteLayersAction.class, PasteLayersAction::new);
|
||||
|
||||
public static final CompetitionPhaseType<?, ? extends CountdownPhase<?>> WAITING_FOR_PLAYERS = CompetitionPhaseType
|
||||
.create("waitingforplayers", CountdownPhase.class);
|
||||
|
||||
private static ArenaSpleef instance;
|
||||
|
||||
private SpleefConfig config;
|
||||
|
||||
Reference in new issue
Block a user