sorted chisel fallback sound

This commit is contained in:
EoD committed 2014-09-15 17:11:23 +02:00
1 parent 30bd732bb9
commit 730c8b16e6
3 files changed
+5 -4

No files matched your search

@@ -5,6 +5,7 @@ import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import info.jbcs.minecraft.chisel.Chisel;
import java.util.ArrayList;
import java.util.Collections;
@@ -182,7 +183,7 @@ public class Carving
{
CarvingGroup blockGroup = carvingGroupsByVariation.get(key(item, metadata));
if(blockGroup == null || blockGroup.sound == null)
return "chisel:chisel";
return Chisel.MOD_ID+":chisel.fallback";
return blockGroup.sound;
}
+3 -3
View File
@@ -1,8 +1,8 @@
{
"chisel":{
"category":"block",
"chisel.fallback":{
"category":"player",
"sounds":[
"chisel"
"chisel/fallback"
]
},
"squash":{