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