Search in sources :

Example 1 with PlanNukkit

use of com.djrapitops.plan.PlanNukkit in project Plan by plan-player-analytics.

the class NukkitMockComponent method getPlanSystem.

public PlanSystem getPlanSystem() throws Exception {
    if (component == null) {
        PlanNukkit planMock = getPlanMock();
        component = DaggerPlanNukkitComponent.builder().plan(planMock).abstractionLayer(new TestPlatformAbstractionLayer(this.planMock)).build();
    }
    return component.system();
}
Also used : PlanNukkit(com.djrapitops.plan.PlanNukkit)

Aggregations

PlanNukkit (com.djrapitops.plan.PlanNukkit)1