mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-24 22:14:44 +00:00
Fix #322 Leaves in inventory client crash
This commit is contained in:
1 parent
4689fef8c3
commit
a23491bb0b
1 file changed
+1
-1
@@ -166,7 +166,7 @@ public abstract class BlockETDefaultLeaves extends BlockAbstractLeaves {
|
||||
public void registerModel(Item item, IModelManager manager) {
|
||||
for (IBlockState state : blockState.getValidStates()) {
|
||||
int meta = getMetaFromState(state);
|
||||
ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation("forestry:leaves.default." + blockNumber, "inventory"));
|
||||
ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation("extratrees:leaves.default." + blockNumber, "inventory"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user