From 785a827f0117e3c82005ef9b269fb61551eeb42d Mon Sep 17 00:00:00 2001 From: Wyatt Childers Date: Wed, 18 May 2016 18:18:14 -0400 Subject: [PATCH] The SpongePermissionsProvider is not the SponePermissionsProvider --- ...ssionsProvider.java => SpongePermissionsProvider.java} | 2 +- .../java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/{SponePermissionsProvider.java => SpongePermissionsProvider.java} (96%) diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SponePermissionsProvider.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePermissionsProvider.java similarity index 96% rename from worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SponePermissionsProvider.java rename to worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePermissionsProvider.java index 967b25a55..62c75d5f3 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SponePermissionsProvider.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongePermissionsProvider.java @@ -22,7 +22,7 @@ package com.sk89q.worldedit.sponge; import org.spongepowered.api.command.CommandCallable; import org.spongepowered.api.entity.living.player.Player; -public class SponePermissionsProvider { +public class SpongePermissionsProvider { public boolean hasPermission(Player player, String permission) { return player.hasPermission(permission); diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java index 0ff60109a..1e198fa90 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java @@ -64,7 +64,7 @@ public class SpongeWorldEdit { public static final String MOD_ID = "worldedit"; public static final String CUI_PLUGIN_CHANNEL = "WECUI"; - private SponePermissionsProvider provider; + private SpongePermissionsProvider provider; @Inject private PluginContainer container; @@ -120,7 +120,7 @@ public class SpongeWorldEdit { } this.platform = new SpongePlatform(this); - this.provider = new SponePermissionsProvider(); + this.provider = new SpongePermissionsProvider(); WorldEdit.getInstance().getPlatformManager().register(platform); } @@ -297,11 +297,11 @@ public class SpongeWorldEdit { return SpongeWorldEdit.class.getAnnotation(Plugin.class).version(); } - public void setPermissionsProvider(SponePermissionsProvider provider) { + public void setPermissionsProvider(SpongePermissionsProvider provider) { this.provider = provider; } - public SponePermissionsProvider getPermissionsProvider() { + public SpongePermissionsProvider getPermissionsProvider() { return provider; }