mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-23 16:41:22 +01:00
Fix compile issues from previous commit
This commit is contained in:
parent
a5c9a25444
commit
37a6ad86e9
@ -21,6 +21,7 @@ import com.creeperface.nukkit.placeholderapi.api.PlaceholderAPI;
|
|||||||
import com.creeperface.nukkit.placeholderapi.api.PlaceholderParameters;
|
import com.creeperface.nukkit.placeholderapi.api.PlaceholderParameters;
|
||||||
import com.creeperface.nukkit.placeholderapi.api.PlaceholderParameters.Parameter;
|
import com.creeperface.nukkit.placeholderapi.api.PlaceholderParameters.Parameter;
|
||||||
import com.djrapitops.plan.PlanSystem;
|
import com.djrapitops.plan.PlanSystem;
|
||||||
|
import com.djrapitops.plan.commands.use.Arguments;
|
||||||
import com.djrapitops.plan.delivery.domain.container.PlayerContainer;
|
import com.djrapitops.plan.delivery.domain.container.PlayerContainer;
|
||||||
import com.djrapitops.plan.delivery.domain.keys.PlayerKeys;
|
import com.djrapitops.plan.delivery.domain.keys.PlayerKeys;
|
||||||
import com.djrapitops.plan.gathering.cache.SessionCache;
|
import com.djrapitops.plan.gathering.cache.SessionCache;
|
||||||
@ -79,7 +80,7 @@ public class NukkitPlaceholderRegistrar {
|
|||||||
.loader(options -> {
|
.loader(options -> {
|
||||||
try {
|
try {
|
||||||
return loader.apply(
|
return loader.apply(
|
||||||
getPlaceholderParameterValues(options.getParameters())
|
new Arguments(getPlaceholderParameterValues(options.getParameters()))
|
||||||
);
|
);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
errorLogger.warn(e, ErrorContext.builder().related("Registering PlaceholderAPI").build());
|
errorLogger.warn(e, ErrorContext.builder().related("Registering PlaceholderAPI").build());
|
||||||
|
Loading…
Reference in New Issue
Block a user