mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-15 12:02:48 +01:00
Op should have teleport permissions
This commit is contained in:
parent
906fac1e62
commit
7aacd73460
@ -87,9 +87,9 @@ public final class CorePermissions {
|
||||
public Try<Void> addDestinationPermissions(@NotNull Destination<?, ?> destination) {
|
||||
return Try.run(() -> {
|
||||
pluginManager.addPermission(new Permission(
|
||||
concatPermission(TELEPORT, "self", destination.getIdentifier()), PermissionDefault.FALSE));
|
||||
concatPermission(TELEPORT, "self", destination.getIdentifier()), PermissionDefault.OP));
|
||||
pluginManager.addPermission(new Permission(
|
||||
concatPermission(TELEPORT, "other", destination.getIdentifier()), PermissionDefault.FALSE));
|
||||
concatPermission(TELEPORT, "other", destination.getIdentifier()), PermissionDefault.OP));
|
||||
Logging.fine("Successfully registered permissions for destination %s", destination.getIdentifier());
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user