mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
comment out missed profiler methods
This commit is contained in:
@@ -1534,6 +1534,27 @@ index 09502b15c20f401c3b56ecedc4d3b515384d654f..bca7b7192debb3a34a08047010a2438e
|
|||||||
super.customServerAiStep();
|
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<Armadillo>) 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
|
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
|
index ea1515f189bf3bc4cfef4524fb40f0d826f68cc0..d330f79e860662bc93a1703215e66e6564d181b9 100644
|
||||||
--- a/src/main/java/net/minecraft/world/entity/animal/axolotl/Axolotl.java
|
--- a/src/main/java/net/minecraft/world/entity/animal/axolotl/Axolotl.java
|
||||||
|
|||||||
Reference in New Issue
Block a user