Merge pull request #445 from BONNe/patch-1

Unnecessary getPermissionPrefix()
This commit is contained in:
Florian CUNY 2019-01-07 06:25:57 +01:00 committed by GitHub
commit 9eec14ffb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");