mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-21 04:42:25 +00:00
Fix some blocks being unchiselable (ex. stone)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user