Fix some blocks being unchiselable (ex. stone)

This commit is contained in:
tterrag1098 committed 2015-01-15 13:36:53 -05:00
1 parent 1ecc11ea0e
commit 14da0862d4
4 files changed
+26 -18

No files matched your search

@@ -86,7 +86,10 @@ public class Carving {
int[] ids = OreDictionary.getOreIDs(new ItemStack(block, metadata));
if (ids.length > 0) {
for (int id : ids) {
return groups.getGroupByOre(OreDictionary.getOreName(id));
ICarvingGroup oreGroup = groups.getGroupByOre(OreDictionary.getOreName(id));
if (oreGroup != null) {
return oreGroup;
}
}
}