forked from LogBlock/LogBlock
Updated Smart Logging for MC 1.6.1
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -45,7 +45,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
<version>1.5-R0.1-SNAPSHOT</version>
|
<version>1.6.1-R0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>${project.groupId}</groupId>
|
||||||
|
@@ -60,7 +60,7 @@ public class BukkitUtils
|
|||||||
relativeBreakable.add(Material.COCOA);
|
relativeBreakable.add(Material.COCOA);
|
||||||
|
|
||||||
// Blocks that break when they are on top of a block
|
// Blocks that break when they are on top of a block
|
||||||
relativeTopBreakable = new HashSet<Material>(31);
|
relativeTopBreakable = new HashSet<Material>(32);
|
||||||
relativeTopBreakable.add(Material.SAPLING);
|
relativeTopBreakable.add(Material.SAPLING);
|
||||||
relativeTopBreakable.add(Material.LONG_GRASS);
|
relativeTopBreakable.add(Material.LONG_GRASS);
|
||||||
relativeTopBreakable.add(Material.DEAD_BUSH);
|
relativeTopBreakable.add(Material.DEAD_BUSH);
|
||||||
@@ -92,6 +92,7 @@ public class BukkitUtils
|
|||||||
relativeTopBreakable.add(Material.REDSTONE_COMPARATOR_OFF);
|
relativeTopBreakable.add(Material.REDSTONE_COMPARATOR_OFF);
|
||||||
relativeTopBreakable.add(Material.WOODEN_DOOR);
|
relativeTopBreakable.add(Material.WOODEN_DOOR);
|
||||||
relativeTopBreakable.add(Material.IRON_DOOR);
|
relativeTopBreakable.add(Material.IRON_DOOR);
|
||||||
|
relativeTopBreakable.add(Material.CARPET);
|
||||||
|
|
||||||
// Blocks that fall
|
// Blocks that fall
|
||||||
relativeTopFallables = new HashSet<Material>(4);
|
relativeTopFallables = new HashSet<Material>(4);
|
||||||
@@ -101,7 +102,7 @@ public class BukkitUtils
|
|||||||
relativeTopFallables.add(Material.ANVIL);
|
relativeTopFallables.add(Material.ANVIL);
|
||||||
|
|
||||||
// Blocks that break falling entities
|
// Blocks that break falling entities
|
||||||
fallingEntityKillers = new HashSet<Material>(31);
|
fallingEntityKillers = new HashSet<Material>(32);
|
||||||
fallingEntityKillers.add(Material.SIGN_POST);
|
fallingEntityKillers.add(Material.SIGN_POST);
|
||||||
fallingEntityKillers.add(Material.WALL_SIGN);
|
fallingEntityKillers.add(Material.WALL_SIGN);
|
||||||
fallingEntityKillers.add(Material.STONE_PLATE);
|
fallingEntityKillers.add(Material.STONE_PLATE);
|
||||||
@@ -133,6 +134,7 @@ public class BukkitUtils
|
|||||||
fallingEntityKillers.add(Material.REDSTONE_COMPARATOR_ON);
|
fallingEntityKillers.add(Material.REDSTONE_COMPARATOR_ON);
|
||||||
fallingEntityKillers.add(Material.REDSTONE_COMPARATOR_OFF);
|
fallingEntityKillers.add(Material.REDSTONE_COMPARATOR_OFF);
|
||||||
fallingEntityKillers.add(Material.DAYLIGHT_DETECTOR);
|
fallingEntityKillers.add(Material.DAYLIGHT_DETECTOR);
|
||||||
|
fallingEntityKillers.add(Material.CARPET);
|
||||||
|
|
||||||
// Crop Blocks
|
// Crop Blocks
|
||||||
cropBlocks = new HashSet<Material>(5);
|
cropBlocks = new HashSet<Material>(5);
|
||||||
|
Reference in New Issue
Block a user