diff --git a/patches/server/0250-Remove-Mojang-Profiler.patch b/patches/server/0250-Remove-Mojang-Profiler.patch index a851b8706..be7a6f2e1 100644 --- a/patches/server/0250-Remove-Mojang-Profiler.patch +++ b/patches/server/0250-Remove-Mojang-Profiler.patch @@ -1534,6 +1534,27 @@ index 09502b15c20f401c3b56ecedc4d3b515384d654f..bca7b7192debb3a34a08047010a2438e super.customServerAiStep(); } +diff --git a/src/main/java/net/minecraft/world/entity/animal/armadillo/Armadillo.java b/src/main/java/net/minecraft/world/entity/animal/armadillo/Armadillo.java +index 29412208e329e9fc211b844822a2fc3328a5bc89..f8790ab5b7c1279719271ee57c00f4f2d6ce9714 100644 +--- a/src/main/java/net/minecraft/world/entity/animal/armadillo/Armadillo.java ++++ b/src/main/java/net/minecraft/world/entity/animal/armadillo/Armadillo.java +@@ -130,12 +130,12 @@ public class Armadillo extends Animal { + + @Override + protected void customServerAiStep() { +- this.level().getProfiler().push("armadilloBrain"); ++ //this.level().getProfiler().push("armadilloBrain"); // Purpur + ((Brain) this.brain).tick((ServerLevel) this.level(), this); // CraftBukkit - decompile error +- this.level().getProfiler().pop(); +- this.level().getProfiler().push("armadilloActivityUpdate"); ++ //this.level().getProfiler().pop(); // Purpur ++ //this.level().getProfiler().push("armadilloActivityUpdate"); // Purpur + ArmadilloAi.updateActivity(this); +- this.level().getProfiler().pop(); ++ //this.level().getProfiler().pop(); // Purpur + if (this.isAlive() && !this.isBaby() && --this.scuteTime <= 0) { + this.playSound(SoundEvents.ARMADILLO_SCUTE_DROP, 1.0F, (this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F); + this.forceDrops = true; // CraftBukkit diff --git a/src/main/java/net/minecraft/world/entity/animal/axolotl/Axolotl.java b/src/main/java/net/minecraft/world/entity/animal/axolotl/Axolotl.java index ea1515f189bf3bc4cfef4524fb40f0d826f68cc0..d330f79e860662bc93a1703215e66e6564d181b9 100644 --- a/src/main/java/net/minecraft/world/entity/animal/axolotl/Axolotl.java