Begin 1.11 (compiles, does not run yet)

This commit is contained in:
mezz committed 2017-02-08 00:52:37 -08:00
1 parent 5310003659
commit 424fdaaf48
164 files changed
+1396 -1312

No files matched your search

@@ -2223,13 +2223,13 @@ public enum ETTreeDefinition implements IStringSerializable, ITreeDefinition, IT
@Override
public boolean setLeaves(ITreeGenome genome, World world, GameProfile owner, BlockPos pos) {
boolean placed = world.setBlockState(pos, PluginArboriculture.blocks.leaves.getDefaultState());
boolean placed = world.setBlockState(pos, PluginArboriculture.getBlocks().leaves.getDefaultState());
if (!placed) {
return false;
}
Block block = world.getBlockState(pos).getBlock();
if (PluginArboriculture.blocks.leaves != block) {
if (PluginArboriculture.getBlocks().leaves != block) {
world.setBlockToAir(pos);
return false;
}