2013-02-06 10:08:37 +00:00
|
|
|
From 4b446ef0907c2009b2115a437d7542ce5cc3843d Mon Sep 17 00:00:00 2001
|
2013-02-02 08:41:11 +00:00
|
|
|
From: md_5 <md_5@live.com.au>
|
|
|
|
Date: Sat, 2 Feb 2013 19:40:53 +1100
|
|
|
|
Subject: [PATCH] Send maps a lot less often to combat the lag they cause.
|
|
|
|
TODO, make it configurable.
|
|
|
|
|
|
|
|
---
|
|
|
|
src/main/java/net/minecraft/server/EntityTrackerEntry.java | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityTrackerEntry.java b/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
2013-02-06 10:08:37 +00:00
|
|
|
index a026c4c..f42cfdf 100644
|
2013-02-02 08:41:11 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
|
|
|
@@ -73,7 +73,7 @@ public class EntityTrackerEntry {
|
|
|
|
this.broadcast(new Packet39AttachEntity(this.tracker, this.tracker.vehicle));
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (this.tracker instanceof EntityItemFrame && this.m % 10 == 0) {
|
2013-02-06 10:08:37 +00:00
|
|
|
+ if (this.tracker instanceof EntityItemFrame && this.m % 10000 == 0) {
|
2013-02-02 08:41:11 +00:00
|
|
|
EntityItemFrame i4 = (EntityItemFrame) this.tracker;
|
|
|
|
ItemStack i5 = i4.i();
|
|
|
|
|
|
|
|
--
|
|
|
|
1.8.1-rc2
|
|
|
|
|