mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 09:58:00 +01:00
495c399ff4
Add support for Minecraft 1.8.x SpigotMC/Spigot@b15ae91145 Skip loading of ProtocolLib SpigotMC/Spigot@508ec8f573 Apply the block fix to block change packets SpigotMC/Spigot@b9349e416d Blacklist Orebfuscator as well. SpigotMC/Spigot@b2ba105762
27 lines
960 B
Diff
27 lines
960 B
Diff
From 0bc7b3848e091aca58db8afe01c02943ca3bd8c0 Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 617f7d4..963b6e9 100644
|
|
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
|
@@ -407,6 +407,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.bm.b();
|
|
+ // PaperSpigot end
|
|
return;
|
|
}
|
|
// Spigot End
|
|
--
|
|
1.9.1
|
|
|