locations command fix

This commit is contained in:
SuperRonanCraft 2021-04-09 19:07:35 -04:00
parent b2d937835a
commit c0886fd04e
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<groupId>me.SuperRonanCraft</groupId>
<artifactId>BetterRTP</artifactId>
<packaging>jar</packaging>
<version>3.1.0-1</version>
<version>3.1.0-2</version>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>

View File

@ -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) {

View File

@ -13,7 +13,7 @@ Locations:
- main_loc:
World: world
CenterX: 100
CenterY: 150
CenterZ: 150
MaxRadius: 100 #optional
MinRadius: 5 #optional
Shape: square #optional