diff --git a/Spigot-Server-Patches/0041-Implement-a-few-1.8-features.patch b/Spigot-Server-Patches/0041-Implement-a-few-1.8-features.patch index 3d6ec2aa4f..99dc196b66 100644 --- a/Spigot-Server-Patches/0041-Implement-a-few-1.8-features.patch +++ b/Spigot-Server-Patches/0041-Implement-a-few-1.8-features.patch @@ -1,4 +1,4 @@ -From 35fc47f5ef31cf675667041464cecd794ffaa74e Mon Sep 17 00:00:00 2001 +From 88655672db04b2b56e0c1f8ee8e378be5400d7bc Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Sun, 7 Sep 2014 15:45:58 -0500 Subject: [PATCH] Implement a few 1.8 features @@ -6,14 +6,14 @@ Subject: [PATCH] Implement a few 1.8 features Blocks, items, few odds and ends diff --git a/src/main/java/net/minecraft/server/Block.java b/src/main/java/net/minecraft/server/Block.java -index 24e84d6..af51fc6 100644 +index 24e84d6..3712524 100644 --- a/src/main/java/net/minecraft/server/Block.java +++ b/src/main/java/net/minecraft/server/Block.java @@ -21,6 +21,7 @@ public class Block { public static final StepSound n = new StepSound("snow", 1.0F, 1.0F); public static final StepSound o = new StepSoundLadder("ladder", 1.0F, 1.0F); public static final StepSound p = new StepSoundAnvil("anvil", 0.3F, 1.0F); -+ public static final StepSound qS = new StepSound("slime", 1.0F, 1.0F); // Slime step sound ++ public static final StepSound qS = new StepSoundSlime("slime", 1.0F, 1.0F); // Slime step sound protected boolean q; protected int r; protected boolean s; @@ -954,6 +954,30 @@ index 23a1446..db4d7d3 100644 EnumFish[] aenumfish = EnumFish.values(); int i = aenumfish.length; +diff --git a/src/main/java/net/minecraft/server/StepSoundSlime.java b/src/main/java/net/minecraft/server/StepSoundSlime.java +new file mode 100644 +index 0000000..3468e1d +--- /dev/null ++++ b/src/main/java/net/minecraft/server/StepSoundSlime.java +@@ -0,0 +1,18 @@ ++package net.minecraft.server; ++ ++public class StepSoundSlime extends StepSound { ++ ++ // Created by PaperSpigot for compatibility reasons, by no means is this necessarily the actual NMS representation ++ ++ public StepSoundSlime(String s, float f, float f1) { ++ super(s, f, f1); ++ } ++ ++ public String getBreakSound() { ++ return "mob.slime.big"; ++ } ++ ++ public String getPlaceSound() { ++ return "mob.slime.small"; ++ } ++} -- 1.9.1