2014-11-28 09:17:45 +08:00
|
|
|
From b26b0d9d00ccc25cfbc39188d76b98cee220c713 Mon Sep 17 00:00:00 2001
|
2014-06-30 02:34:16 +08:00
|
|
|
From: Zach Brown <Zbob750@live.com>
|
|
|
|
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
|
2014-11-28 09:17:45 +08:00
|
|
|
index bc7f81e..39800e5 100644
|
2014-06-30 02:34:16 +08:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
2014-11-28 09:17:45 +08:00
|
|
|
@@ -454,6 +454,12 @@ public abstract class EntityInsentient extends EntityLiving {
|
2014-06-30 02:34:16 +08: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 09:17:45 +08:00
|
|
|
+ this.g.b();
|
2014-06-30 02:34:16 +08:00
|
|
|
+ // PaperSpigot end
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// Spigot End
|
|
|
|
--
|
|
|
|
1.9.1
|
|
|
|
|