mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-18 19:49:12 +00:00
Fix typo causing some oredict blocks to not be chiseleable in world
Closes #177
This commit is contained in:
1 parent
a4f779ef0f
commit
06f2aff70c
3 files changed
+8
-5
No files matched your search
@@ -112,7 +112,7 @@ public class Carving implements ICarvingRegistry {
|
||||
|
||||
@Override
|
||||
public ICarvingGroup getGroup(Block block, int metadata) {
|
||||
int[] ids = OreDictionary.getOreIDs(new ItemStack(block, metadata));
|
||||
int[] ids = OreDictionary.getOreIDs(new ItemStack(block, 1, metadata));
|
||||
if (ids.length > 0) {
|
||||
for (int id : ids) {
|
||||
ICarvingGroup oreGroup = groups.getGroupByOre(OreDictionary.getOreName(id));
|
||||
|
||||
Reference in new issue
Block a user