mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 07:39:16 +01:00
d28dd3edbd
Brought our multiple TNT change patches into a single patch and configuraiton section. You /will/ need to update your configs, sorry. Adds additional configuration and features as well.
26 lines
981 B
Diff
26 lines
981 B
Diff
From d31ec5cfef234a997563a3c58639f8bd6830bfdf Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <zach.brown@destroystokyo.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
|
|
index 214c0ca..196b45a 100644
|
|
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
@@ -454,6 +454,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
|
|
--
|
|
1.9.5.msysgit.0
|
|
|