mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
Send maps even less often, still causing lag. Appreciate if anyone can PR a config option for this, bit busy atm.
This commit is contained in:
parent
b864492e7a
commit
9a4bc05358
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
From 5b78d30d5cced3b497859b4b9e1e11fab458588b Mon Sep 17 00:00:00 2001
|
From 4b446ef0907c2009b2115a437d7542ce5cc3843d Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <md_5@live.com.au>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Sat, 2 Feb 2013 19:40:53 +1100
|
Date: Sat, 2 Feb 2013 19:40:53 +1100
|
||||||
Subject: [PATCH] Send maps a lot less often to combat the lag they cause.
|
Subject: [PATCH] Send maps a lot less often to combat the lag they cause.
|
||||||
|
@ -9,7 +9,7 @@ Subject: [PATCH] Send maps a lot less often to combat the lag they cause.
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
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
|
diff --git a/src/main/java/net/minecraft/server/EntityTrackerEntry.java b/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
||||||
index a026c4c..bef8fad 100644
|
index a026c4c..f42cfdf 100644
|
||||||
--- a/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
--- a/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
+++ b/src/main/java/net/minecraft/server/EntityTrackerEntry.java
|
||||||
@@ -73,7 +73,7 @@ public class EntityTrackerEntry {
|
@@ -73,7 +73,7 @@ public class EntityTrackerEntry {
|
||||||
|
@ -17,7 +17,7 @@ index a026c4c..bef8fad 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
- if (this.tracker instanceof EntityItemFrame && this.m % 10 == 0) {
|
- if (this.tracker instanceof EntityItemFrame && this.m % 10 == 0) {
|
||||||
+ if (this.tracker instanceof EntityItemFrame && this.m % 1000 == 0) {
|
+ if (this.tracker instanceof EntityItemFrame && this.m % 10000 == 0) {
|
||||||
EntityItemFrame i4 = (EntityItemFrame) this.tracker;
|
EntityItemFrame i4 = (EntityItemFrame) this.tracker;
|
||||||
ItemStack i5 = i4.i();
|
ItemStack i5 = i4.i();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue