From ea68601a8e3fd4dcc69c7218599a525419aaad60 Mon Sep 17 00:00:00 2001 From: gravityfox Date: Sun, 3 Jan 2016 04:27:44 -0800 Subject: [PATCH] Permissions and a ref bump. --- FoxCore | 2 +- .../sponge/foxguard/plugin/command/CommandLink.java | 2 +- .../sponge/foxguard/plugin/command/CommandUnlink.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FoxCore b/FoxCore index 8d5ecc1..3ceae4c 160000 --- a/FoxCore +++ b/FoxCore @@ -1 +1 @@ -Subproject commit 8d5ecc15d79298932046320c7e02f1f82b96a2ee +Subproject commit 3ceae4c28bacb9adab5de4ad60670b4dc20ef56d diff --git a/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandLink.java b/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandLink.java index 97aa394..06b09c5 100644 --- a/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandLink.java +++ b/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandLink.java @@ -115,7 +115,7 @@ public List getSuggestions(CommandSource source, String arguments) throw @Override public boolean testPermission(CommandSource source) { - return source.hasPermission("foxguard.command.modify.link.add"); + return source.hasPermission("foxguard.command.modify.link.link"); } @Override diff --git a/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandUnlink.java b/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandUnlink.java index 14e83e8..a2c0202 100644 --- a/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandUnlink.java +++ b/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/command/CommandUnlink.java @@ -114,7 +114,7 @@ public List getSuggestions(CommandSource source, String arguments) throw @Override public boolean testPermission(CommandSource source) { - return source.hasPermission("foxguard.command.modify.link.remove"); + return source.hasPermission("foxguard.command.modify.link.unlink"); } @Override