Fix missed variable in entity activation range

This commit is contained in:
md_5 2014-04-12 19:01:59 +10:00
parent fad54a7a3e
commit 4976381ad8
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
From b3dd79c393ff2bfb2f6053a108de09fa1cf2bca3 Mon Sep 17 00:00:00 2001
From 8170a876eb425d2a6c4010c687bda0f26b509b6e Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sun, 3 Feb 2013 05:10:21 -0500
Subject: [PATCH] Entity Activation Range
@ -98,7 +98,7 @@ index 3628774..c2afb17 100644
public int shake;
public Entity shooter;
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java
index f90e2a3..3758411 100644
index f90e2a3..6c77253 100644
--- a/src/main/java/net/minecraft/server/EntityLiving.java
+++ b/src/main/java/net/minecraft/server/EntityLiving.java
@@ -78,6 +78,13 @@ public abstract class EntityLiving extends Entity {
@ -109,7 +109,7 @@ index f90e2a3..3758411 100644
+ public void inactiveTick()
+ {
+ super.inactiveTick();
+ ++this.aV;
+ ++this.aU; // Above all the floats
+ }
+ // Spigot end