geforkt von Mirrors/Paper
27 Zeilen
970 B
Diff
27 Zeilen
970 B
Diff
From 3f8f70c97cbdcc1ecc64d7ae417b98e11bdd72fe Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
Date: Sat, 7 Mar 2015 21:03:06 -0600
|
|
Subject: [PATCH] Allow nerfed mobs to jump
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
index 9621ce0..261bfb7 100644
|
|
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
@@ -461,6 +461,12 @@ public abstract class EntityInsentient extends EntityLiving {
|
|
// Spigot Start
|
|
if ( this.fromMobSpawner )
|
|
{
|
|
+ // PaperSpigot start - Allow nerfed mobs to jump
|
|
+ this.world.methodProfiler.a("goalSelector");
|
|
+ this.goalSelector.a();
|
|
+ this.world.methodProfiler.c("jump");
|
|
+ this.g.b();
|
|
+ // PaperSpigot end
|
|
return;
|
|
}
|
|
// Spigot End
|
|
--
|
|
2.3.5
|
|
|