@@ -6,10 +6,10 @@
|
||||
|
||||
+import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit
|
||||
+
|
||||
public class BlockCocoa extends BlockDirectional implements IBlockFragilePlantElement {
|
||||
public class BlockCocoa extends BlockFacingHorizontal implements IBlockFragilePlantElement {
|
||||
|
||||
public static final BlockStateInteger AGE = BlockStateInteger.of("age", 0, 2);
|
||||
@@ -19,7 +21,10 @@
|
||||
@@ -23,7 +25,10 @@
|
||||
int i = ((Integer) iblockdata.get(BlockCocoa.AGE)).intValue();
|
||||
|
||||
if (i < 2) {
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,7 +130,10 @@
|
||||
@@ -124,7 +129,10 @@
|
||||
}
|
||||
|
||||
public void b(World world, Random random, BlockPosition blockposition, IBlockData iblockdata) {
|
||||
|
||||
Reference in New Issue
Block a user