From 98b7b65ce765a33dd15bce4c5a7d45e9b770cb08 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 24 Oct 2016 09:22:53 +0100 Subject: [PATCH] Remove PEX dependency --- sponge/pom.xml | 49 ------------------- .../migration/MigrationPermissionsEx.java | 3 +- 2 files changed, 1 insertion(+), 51 deletions(-) diff --git a/sponge/pom.xml b/sponge/pom.xml index a4d60750..6f13a848 100644 --- a/sponge/pom.xml +++ b/sponge/pom.xml @@ -140,54 +140,5 @@ 1.16.10 provided - - - ninja.leaping.permissionsex - permissionsex-sponge - 2.0-SNAPSHOT - provided - - - com.sk89q - squirrelid - - - com.googlecode.json-simple - json-simple - - - org.gnu.gettext - libintl - - - org.antlr - antlr4-runtime - - - - - ninja.leaping.permissionsex - permissionsex-core - 2.0-SNAPSHOT - provided - - - com.sk89q - squirrelid - - - com.googlecode.json-simple - json-simple - - - org.gnu.gettext - libintl - - - org.antlr - antlr4-runtime - - - diff --git a/sponge/src/main/java/me/lucko/luckperms/sponge/migration/MigrationPermissionsEx.java b/sponge/src/main/java/me/lucko/luckperms/sponge/migration/MigrationPermissionsEx.java index b1952624..92b6aa0b 100644 --- a/sponge/src/main/java/me/lucko/luckperms/sponge/migration/MigrationPermissionsEx.java +++ b/sponge/src/main/java/me/lucko/luckperms/sponge/migration/MigrationPermissionsEx.java @@ -34,7 +34,6 @@ import me.lucko.luckperms.common.groups.Group; import me.lucko.luckperms.common.users.User; import me.lucko.luckperms.exceptions.ObjectAlreadyHasException; import me.lucko.luckperms.sponge.service.LuckPermsService; -import ninja.leaping.permissionsex.sponge.PermissionsExPlugin; import org.spongepowered.api.Sponge; import org.spongepowered.api.plugin.PluginContainer; import org.spongepowered.api.service.context.Context; @@ -59,7 +58,7 @@ public class MigrationPermissionsEx extends SubCommand { } // Cast to PermissionService. PEX has all of it's damned classes defined as package private. - PermissionService pexService = (PermissionsExPlugin) pex.get().getInstance().get(); + PermissionService pexService = (PermissionService) pex.get().getInstance().get(); // Migrate groups log.info("PermissionsEx Migration: Starting group migration.");