2014-09-22 05:05:59 +02:00
|
|
|
From 8ba29cb16f8d0f9bcbcafbd398f66aaf72326b23 Mon Sep 17 00:00:00 2001
|
2014-06-29 20:34:16 +02: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-09-22 05:05:59 +02:00
|
|
|
index cf0c38f..deb04b5 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-09-22 05:05:59 +02:00
|
|
|
@@ -408,6 +408,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");
|
|
|
|
+ this.bm.b();
|
|
|
|
+ // PaperSpigot end
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// Spigot End
|
|
|
|
--
|
|
|
|
1.9.1
|
|
|
|
|