diff --git a/pom.xml b/pom.xml index a0fc639..608d31b 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ me.SuperRonanCraft BetterRTP jar - 3.1.0-1 + 3.1.0-2 1.8 diff --git a/src/main/java/me/SuperRonanCraft/BetterRTP/player/commands/types/CmdLocation.java b/src/main/java/me/SuperRonanCraft/BetterRTP/player/commands/types/CmdLocation.java index 6633e24..7be8b09 100644 --- a/src/main/java/me/SuperRonanCraft/BetterRTP/player/commands/types/CmdLocation.java +++ b/src/main/java/me/SuperRonanCraft/BetterRTP/player/commands/types/CmdLocation.java @@ -53,7 +53,7 @@ public class CmdLocation implements RTPCommand, RTPCommandHelpable { } public boolean permission(CommandSender sendi) { - return BetterRTP.getInstance().getPerms().getRtpOther(sendi); + return BetterRTP.getInstance().getPerms().getLocation(sendi); } public void usage(CommandSender sendi, String label) { diff --git a/src/main/resources/locations.yml b/src/main/resources/locations.yml index 656beb0..24dafec 100644 --- a/src/main/resources/locations.yml +++ b/src/main/resources/locations.yml @@ -13,7 +13,7 @@ Locations: - main_loc: World: world CenterX: 100 - CenterY: 150 + CenterZ: 150 MaxRadius: 100 #optional MinRadius: 5 #optional Shape: square #optional \ No newline at end of file