- added Beacon to List of chested items (like enderchest)
This commit is contained in:
Jascha Starke 2013-01-15 08:42:22 +01:00
parent 6ff79cfc9e
commit 6856c6d95a
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
name: LimitedCreative
main: de.jaschastarke.minecraft.limitedcreative.Core
version: 1.4.6b
version: 1.4.6c
softdepend: [WorldGuard, WorldEdit, MultiInv]
dev-url: http://dev.bukkit.org/server-mods/limited-creative/
commands:

View file

@ -3,7 +3,7 @@
<groupId>de.jaschastarke</groupId>
<artifactId>LimitedCreative</artifactId>
<name>LimitedCreative</name>
<version>1.4.6b</version>
<version>1.4.6c</version>
<url>https://github.com/possi/LimitedCreative</url>
<scm>
<connection>scm:git:git://github.com/possi/LimitedCreative.git</connection>

View file

@ -93,7 +93,7 @@ public class LimitListener implements Listener {
Block block = event.getClickedBlock();
if (block.getState() instanceof InventoryHolder || block.getType() == Material.ENDER_CHEST) { // Workaround, Bukkit not recognize a Enderchest
if (block.getState() instanceof InventoryHolder || block.getType() == Material.ENDER_CHEST || block.getType() == Material.BEACON) { // Workaround, Bukkit not recognize a Enderchest
player.onChestAccess(event);
} else if (block.getState() instanceof Sign) {
player.onSignAccess(event);