From 6ffb71b831d0b22f3974c4e4ea72f61b097bdd2c Mon Sep 17 00:00:00 2001 From: Fenn Date: Tue, 19 Aug 2014 10:53:37 +0100 Subject: [PATCH] Sound fix. --- .../minecraft/chisel/ChiselModCompatibility.java | 13 ------------- .../info/jbcs/minecraft/chisel/StepSoundEx.java | 6 ++++++ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/main/java/info/jbcs/minecraft/chisel/ChiselModCompatibility.java b/src/main/java/info/jbcs/minecraft/chisel/ChiselModCompatibility.java index a8b13e2f..a3eee493 100644 --- a/src/main/java/info/jbcs/minecraft/chisel/ChiselModCompatibility.java +++ b/src/main/java/info/jbcs/minecraft/chisel/ChiselModCompatibility.java @@ -115,19 +115,6 @@ public class ChiselModCompatibility block.setHarvestLevel("chisel", 0, 0); } }; - /*new ClassBlockCompat("mrtjp.projectred.blocks.DecorativeStoneDefs", "MARBLE") - { - @Override - void action() - { - if(Loader.isModLoaded("ProjRed|Exploration") && GameRegistry.findBlock("ProjRed|Exploration", "stonemarble") != null) - { - Carving.chisel.addVariation("marble", GameRegistry.findBlock("ProjRed|Exploration", "stonemarble"), 0, 99); - GameRegistry.findBlock("ProjRed|Exploration", "stonemarble").setHarvestLevel("chisel", 0, 0); - } - } - }; - */ new ClassBlockCompat("mariculture.core.Core", "limestone") { diff --git a/src/main/java/info/jbcs/minecraft/chisel/StepSoundEx.java b/src/main/java/info/jbcs/minecraft/chisel/StepSoundEx.java index ce6d4065..cf9340b5 100644 --- a/src/main/java/info/jbcs/minecraft/chisel/StepSoundEx.java +++ b/src/main/java/info/jbcs/minecraft/chisel/StepSoundEx.java @@ -20,4 +20,10 @@ public class StepSoundEx extends SoundType { return this.soundName; } + + @Override + public String getStepResourcePath() + { + return this.stepName; + } }