@@ -8,8 +8,8 @@
|
||||
+
|
||||
public class BlockCocoa extends BlockFacingHorizontal implements IBlockFragilePlantElement {
|
||||
|
||||
public static final BlockStateInteger AGE = BlockProperties.T;
|
||||
@@ -21,7 +23,7 @@
|
||||
public static final BlockStateInteger AGE = BlockProperties.Z;
|
||||
@@ -22,7 +24,7 @@
|
||||
int i = (Integer) iblockdata.get(BlockCocoa.AGE);
|
||||
|
||||
if (i < 2) {
|
||||
@@ -18,12 +18,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,7 +108,7 @@
|
||||
}
|
||||
@@ -92,7 +94,7 @@
|
||||
|
||||
@Override
|
||||
public void b(World world, Random random, BlockPosition blockposition, IBlockData iblockdata) {
|
||||
- world.setTypeAndData(blockposition, (IBlockData) iblockdata.set(BlockCocoa.AGE, (Integer) iblockdata.get(BlockCocoa.AGE) + 1), 2);
|
||||
+ CraftEventFactory.handleBlockGrowEvent(world, blockposition, (IBlockData) iblockdata.set(BlockCocoa.AGE, (Integer) iblockdata.get(BlockCocoa.AGE) + 1), 2); // CraftBukkit
|
||||
}
|
||||
|
||||
public TextureType c() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user