From 8937423b15405cfac4d0622255f1b9f63c98815b Mon Sep 17 00:00:00 2001 From: LankyLord Date: Sun, 25 Aug 2013 13:02:12 +0100 Subject: [PATCH 1/2] Add quick sign functionality to trapped chests --- src/main/java/com/daemitus/deadbolt/events/PlayerListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/daemitus/deadbolt/events/PlayerListener.java b/src/main/java/com/daemitus/deadbolt/events/PlayerListener.java index a58a828..e009e53 100644 --- a/src/main/java/com/daemitus/deadbolt/events/PlayerListener.java +++ b/src/main/java/com/daemitus/deadbolt/events/PlayerListener.java @@ -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: From c3ff7bb57be490ed9d256f5ea0f4cada49f1ca88 Mon Sep 17 00:00:00 2001 From: LankyLord Date: Sun, 25 Aug 2013 13:05:03 +0100 Subject: [PATCH 2/2] Add trapped chest permissions to plugin.yml --- src/main/resources/plugin.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f68268b..4eb5050 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -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 @@ -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