aboutsummaryrefslogtreecommitdiffhomepage
path: root/CraftBukkit-Patches/0157-Fix-misnamed-function-from-1.7.10-update.patch
blob: cad4d1e9f4bfb9df6b9916da0ec9c36b5b8f0b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 20a6b7bbdb42f7b8b915abb9195c8177149adc42 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