Skip to content

Commit

Permalink
Merge pull request #90 from LankyLord/trapped-chest-quicksign
Browse files Browse the repository at this point in the history
Allow quicksign on trapped chests and add permissions to default plugin.yml
  • Loading branch information
md-5 committed Apr 2, 2014
2 parents 7f4fe9b + c3ff7bb commit 1373b16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ private boolean placeQuickSign(PlayerInteractEvent event) {
case WOODEN_DOOR:
case IRON_DOOR_BLOCK:
case TRAP_DOOR:
case TRAPPED_CHEST:
case FENCE_GATE:
case BREWING_STAND:
case ENCHANTMENT_TABLE:
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ permissions:
deadbolt.user.create.door: true
deadbolt.user.create.furnace: true
deadbolt.user.create.trapdoor: true
deadbolt.user.create.trappedchest: true
deadbolt.user.create.fencegate: true
deadbolt.user.create.brewery: true
deadbolt.user.create.cauldron: true
Expand All @@ -59,6 +60,9 @@ permissions:
deadbolt.user.create.trapdoor:
description: Allows user protection of trapdoors
default: true
deadbolt.user.create.trappedchest:
description: Allows user protection of trapped chests
default: true
deadbolt.user.create.fencegate:
description: Allows user protection of fencegates
default: true
Expand Down

0 comments on commit 1373b16

Please sign in to comment.