mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 03:59:45 +00:00
Fix #1094 Leaves crash. Split decorative leaves into their own block
This commit is contained in:
1 parent
ea64436f28
commit
43cf636096
34 files changed
+733
-338
No files matched your search
@@ -18,7 +18,7 @@ public class ModelFarmBlock extends ModelBlockOverlay<BlockFarm> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void backeInventoryBlock(BlockFarm blockFarm, ItemStack item, IModelBaker baker) {
|
||||
public void bakeInventoryBlock(BlockFarm blockFarm, ItemStack item, IModelBaker baker) {
|
||||
if (blockFarm == null) {
|
||||
return;
|
||||
}
|
||||
@@ -32,7 +32,7 @@ public class ModelFarmBlock extends ModelBlockOverlay<BlockFarm> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean backeWorldBlock(BlockFarm blockFarm, IBlockAccess world, BlockPos pos, IModelBaker baker) {
|
||||
public boolean bakeWorldBlock(BlockFarm blockFarm, IBlockAccess world, BlockPos pos, IModelBaker baker) {
|
||||
|
||||
TileFarm farm = (TileFarm) world.getTileEntity(pos);
|
||||
|
||||
|
||||
Reference in new issue
Block a user