2015-03-21 02:39:37 +00:00
|
|
|
From 2263b5efd50e99d43fbf7c7428a1c4b2fd31b9ef Mon Sep 17 00:00:00 2001
|
2015-01-29 21:25:50 +00:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
2015-03-08 01:16:09 +00:00
|
|
|
Date: Sat, 7 Mar 2015 21:03:06 -0600
|
2014-06-29 18:34:16 +00:00
|
|
|
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
|
2015-03-08 01:16:09 +00:00
|
|
|
index 134897a..b580217 100644
|
2014-06-29 18:34:16 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
2014-11-28 01:17:45 +00:00
|
|
|
@@ -454,6 +454,12 @@ public abstract class EntityInsentient extends EntityLiving {
|
2014-06-29 18:34:16 +00:00
|
|
|
// 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");
|
2014-11-28 01:17:45 +00:00
|
|
|
+ this.g.b();
|
2014-06-29 18:34:16 +00:00
|
|
|
+ // PaperSpigot end
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// Spigot End
|
|
|
|
--
|
2015-03-08 01:16:09 +00:00
|
|
|
1.9.1
|
2014-06-29 18:34:16 +00:00
|
|
|
|