Revert second addition to boat sending patch.

This commit is contained in:
md_5 2013-03-24 08:20:01 +11:00
parent fbf4580cd2
commit 6eebb4f371

View File

@ -1,4 +1,4 @@
From 09b15af1239b1792fcafdc409d5d7bda39adeb74 Mon Sep 17 00:00:00 2001
From 1f2c584ebbd256e9e1842da982aa48ad0ab98b80 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Mar 2013 13:31:23 +1100
Subject: [PATCH] Entity Tracking Intervals
@ -9,7 +9,7 @@ Send boats at the same speed as their player to remove the illusion of lag / jer
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/minecraft/server/EntityTracker.java b/src/main/java/net/minecraft/server/EntityTracker.java
index 0bc3733..a940b25 100644
index 32ce51d..7cd2c26 100644
--- a/src/main/java/net/minecraft/server/EntityTracker.java
+++ b/src/main/java/net/minecraft/server/EntityTracker.java
@@ -58,7 +58,7 @@ public class EntityTracker {
@ -17,7 +17,7 @@ index 0bc3733..a940b25 100644
this.addEntity(entity, 80, 3, true);
} else if (entity instanceof EntityBoat) {
- this.addEntity(entity, 80, 3, true);
+ this.addEntity(entity, 80, 2); // Spigot - send same as player
+ this.addEntity(entity, 80, 2, true); // Spigot - send at same speed as player
} else if (entity instanceof EntitySquid) {
this.addEntity(entity, 64, 3, true);
} else if (entity instanceof EntityWither) {