Fixed a crash bug with sapling drops

This commit is contained in:
Adubbz 2016-01-06 01:49:13 +11:00
parent 5090c759bc
commit 840e9631d5
3 changed files with 5 additions and 3 deletions

View File

@ -35,7 +35,7 @@ archivesBaseName = "BiomesOPlenty"
minecraft {
version = config.minecraft_version + "-" + config.forge_version // grab latest forge
useDepAts = true
mappings = "snapshot_nodoc_20151214"
mappings = project.config.mappings_version
}
// add some stuff to the version

View File

@ -1,3 +1,4 @@
minecraft_version=1.8.9
forge_version=11.15.0.1669
forge_version=11.15.0.1684
mod_version=3.0.0
mappings_version=snapshot_nodoc_20160104

View File

@ -133,7 +133,8 @@ public class BlockBOPSapling extends BlockBOPDecoration implements IGrowable {
@Override
public int damageDropped(IBlockState state)
{
return this.getMetaFromState(state);
//We don't want item drops to have metadata for the stage
return this.getMetaFromState(state) & 7;
}
@Override