Paper/CraftBukkit-Patches/0153-Fix-misnamed-function-from-1.7.10-update.patch
Zach Brown 5b4bc3081a Update from upstream SpigotMC
Upstream merge (we must go deeper) SpigotMC/Spigot@1e7bc383c3
2014-08-18 10:43:17 -05:00

23 Zeilen
831 B
Diff

From 381dc3a30d120b3e4e37c8b6841f380d3cf61337 Mon Sep 17 00:00:00 2001
From: Suddenly <suddenly@suddenly.coffee>
Date: Mon, 14 Jul 2014 23:43:10 +0100
Subject: [PATCH] Fix misnamed function from 1.7.10 update
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index 56b5980..dea5e19 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -1406,7 +1406,7 @@ public abstract class Entity {
public void ac() {
if (this.passenger != null) {
- this.passenger.setPosition(this.locX, this.locY + this.ad() + this.passenger.ad(), this.locZ);
+ this.passenger.setPosition(this.locX, this.locY + this.ae() + this.passenger.ad(), this.locZ); // Spigot
}
}
--
1.9.1