Remove unused patch to ItemRecord. Closes #2686. (#4035)

This commit is contained in:
Ben Staddon authored and LexManos committed 2017-06-19 16:47:01 -07:00
1 parent fcb596ea1e
commit 80d9beedc9
1 file changed
-20
@@ -1,20 +0,0 @@
--- ../src-base/minecraft/net/minecraft/item/ItemRecord.java
+++ ../src-work/minecraft/net/minecraft/item/ItemRecord.java
@@ -65,6 +65,17 @@
p_77624_3_.add(this.func_150927_i());
}
+ /**
+ * Retrieves the resource location of the sound to play for this record.
+ *
+ * @param name The name of the record to play
+ * @return The resource location for the audio, null to use default.
+ */
+ public net.minecraft.util.ResourceLocation getRecordResource(String name)
+ {
+ return new net.minecraft.util.ResourceLocation(name);
+ }
+
@SideOnly(Side.CLIENT)
public String func_150927_i()
{