Skip to content

Commit

Permalink
Add CommandBook teleport permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Pugzy <pugzy@mail.com>
  • Loading branch information
Pugzy authored and Electroid committed Jan 1, 2020
1 parent a835ff7 commit e41f755
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/tc/oc/pgm/api/Permissions.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public interface Permissions {
.putAll(DISABLE.getChildren())
.put("worldedit.navigation.jumpto.tool", false)
.put("worldedit.navigation.thru.tool", false)
.put("commandbook.teleport", false)
.build());
Permission OBSERVER =
new Permission(
Expand All @@ -113,6 +114,7 @@ public interface Permissions {
new ImmutableMap.Builder<String, Boolean>()
.putAll(DISABLE.getChildren())
.put("worldedit.navigation.*", true)
.put("commandbook.teleport", true)
.build());

static void register(PluginManager pluginManager) {
Expand Down

0 comments on commit e41f755

Please sign in to comment.