mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-16 01:54:46 +00:00
Fix crash when left clicking blocks that are not in a carving group
This commit is contained in:
1 parent
3ac7bd79e7
commit
aeebccf83e
3 files changed
+8
-1
No files matched your search
@@ -1,3 +1,6 @@
|
||||
2.3.3:
|
||||
Fix crash when left clicking certain blocks with the chisel
|
||||
|
||||
2.3.2:
|
||||
Fixed antiblocks being chiselable between colors
|
||||
Added recipes to dye existing antiblocks
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
mod_version=2.3.2
|
||||
mod_version=2.3.3
|
||||
minecraft_version=1.7.10
|
||||
forge_version=10.13.2.1277
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ public final class ChiselController {
|
||||
int metadata = event.world.getBlockMetadata(x, y, z);
|
||||
ICarvingGroup group = Carving.chisel.getGroup(block, metadata);
|
||||
|
||||
if (group == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
List<ICarvingVariation> list = group.getVariations();
|
||||
|
||||
main: for (ItemStack stack : OreDictionary.getOres(group.getOreName())) {
|
||||
|
||||
Reference in new issue
Block a user