mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-24 11:45:31 +01:00
Merge pull request #445 from BONNe/patch-1
Unnecessary getPermissionPrefix()
This commit is contained in:
commit
9eec14ffb3
@ -22,7 +22,7 @@ public class AdminTeleportCommand extends CompositeCommand {
|
|||||||
@Override
|
@Override
|
||||||
public void setup() {
|
public void setup() {
|
||||||
// Permission
|
// Permission
|
||||||
setPermission(getPermissionPrefix() + "admin.tp");
|
setPermission("admin.tp");
|
||||||
setOnlyPlayer(true);
|
setOnlyPlayer(true);
|
||||||
setParametersHelp("commands.admin.tp.parameters");
|
setParametersHelp("commands.admin.tp.parameters");
|
||||||
setDescription("commands.admin.tp.description");
|
setDescription("commands.admin.tp.description");
|
||||||
|
Loading…
Reference in New Issue
Block a user