mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +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
|
||||
public void setup() {
|
||||
// Permission
|
||||
setPermission(getPermissionPrefix() + "admin.tp");
|
||||
setPermission("admin.tp");
|
||||
setOnlyPlayer(true);
|
||||
setParametersHelp("commands.admin.tp.parameters");
|
||||
setDescription("commands.admin.tp.description");
|
||||
|
Loading…
Reference in New Issue
Block a user