mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-05 03:13:14 +01:00
migrate to cloud-processors-requirements
This commit is contained in:
parent
92a00ef60a
commit
780c65e68c
@ -41,7 +41,7 @@ import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.incendo.cloud.requirement.RequirementPostprocessor;
|
||||
import org.incendo.cloud.processors.requirements.RequirementPostprocessor;
|
||||
|
||||
public class CloudModule extends AbstractModule {
|
||||
|
||||
|
@ -27,8 +27,8 @@ import io.leangen.geantyref.TypeToken;
|
||||
import net.kyori.adventure.text.minimessage.tag.Tag;
|
||||
import net.kyori.adventure.text.minimessage.tag.resolver.TagResolver;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.incendo.cloud.requirement.Requirement;
|
||||
import org.incendo.cloud.requirement.Requirements;
|
||||
import org.incendo.cloud.processors.requirements.Requirement;
|
||||
import org.incendo.cloud.processors.requirements.Requirements;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -24,8 +24,8 @@ import cloud.commandframework.CommandProperties;
|
||||
import com.plotsquared.core.command.CommandCategory;
|
||||
import com.plotsquared.core.player.PlotPlayer;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.incendo.cloud.requirement.RequirementApplicable;
|
||||
import org.incendo.cloud.requirement.Requirements;
|
||||
import org.incendo.cloud.processors.requirements.RequirementApplicable;
|
||||
import org.incendo.cloud.processors.requirements.Requirements;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -21,7 +21,7 @@ package com.plotsquared.core.commands;
|
||||
import cloud.commandframework.context.CommandContext;
|
||||
import com.plotsquared.core.player.PlotPlayer;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.incendo.cloud.requirement.RequirementFailureHandler;
|
||||
import org.incendo.cloud.processors.requirements.RequirementFailureHandler;
|
||||
|
||||
public final class PlotSquaredRequirementFailureHandler implements RequirementFailureHandler<PlotPlayer<?>, CommandRequirement> {
|
||||
|
||||
|
@ -82,7 +82,7 @@ serverlib = { group = "dev.notmyfault.serverlib", name = "ServerLib", version.re
|
||||
cloud = { group = "cloud.commandframework", name = "cloud-core", version.ref = "cloud" }
|
||||
cloudPaper = { group = "cloud.commandframework", name = "cloud-paper", version.ref = "cloud" }
|
||||
cloudMinecraftExtras = { group = "cloud.commandframework", name = "cloud-minecraft-extras", version.ref = "cloud" }
|
||||
cloudRequirements = { group = "org.incendo", name = "cloud-requirements", version.ref = "cloudRequirements" }
|
||||
cloudRequirements = { group = "org.incendo", name = "cloud-processors-requirements", version.ref = "cloudRequirements" }
|
||||
|
||||
[plugins]
|
||||
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
|
||||
|
Loading…
Reference in New Issue
Block a user