2015-02-23 22:03:10 +01:00
|
|
|
From d31ec5cfef234a997563a3c58639f8bd6830bfdf Mon Sep 17 00:00:00 2001
|
2015-01-29 22:25:50 +01:00
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
2014-06-29 20:34:16 +02:00
|
|
|
Date: Sun, 29 Jun 2014 13:32:36 -0500
|
|
|
|
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-01-29 22:26:20 +01:00
|
|
|
index 214c0ca..196b45a 100644
|
2014-06-29 20:34:16 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
2014-11-28 02:17:45 +01:00
|
|
|
@@ -454,6 +454,12 @@ public abstract class EntityInsentient extends EntityLiving {
|
2014-06-29 20:34:16 +02: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 02:17:45 +01:00
|
|
|
+ this.g.b();
|
2014-06-29 20:34:16 +02:00
|
|
|
+ // PaperSpigot end
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// Spigot End
|
|
|
|
--
|
2015-01-29 22:26:20 +01:00
|
|
|
1.9.5.msysgit.0
|
2014-06-29 20:34:16 +02:00
|
|
|
|