diff options
author | Dico <dico.karssiens@gmail.com> | 2018-09-26 09:58:37 +0100 |
---|---|---|
committer | Dico <dico.karssiens@gmail.com> | 2018-09-26 09:58:37 +0100 |
commit | e7dcf7ecc9d448e3a07ef22843ef058d72dcb225 (patch) | |
tree | 6d6a081e8e39265a739094bb2eb013457ebf18e6 /src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt | |
parent | 520ae530d2de076fa9e87da7f04fcf78e080f4de (diff) |
Tweaks to command permissions
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt')
-rw-r--r-- | src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt b/src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt index 2923173..8ba2d93 100644 --- a/src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt +++ b/src/main/kotlin/io/dico/parcels2/command/ParcelOptionsInteractCommand.kt @@ -15,6 +15,7 @@ class ParcelOptionsInteractCommand(val parcelProvider: ParcelProvider) : Command init { addContextFilter(IContextFilter.PLAYER_ONLY) + addContextFilter(IContextFilter.INHERIT_PERMISSIONS) addParameter("allowed", "allowed", ParameterTypes.BOOLEAN) } |