aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2017-03-15 09:32:50 -0500
committerZach Brown <[email protected]>2017-03-15 09:32:50 -0500
commit7f3aa1ed290729ec5431c38e495f57d70663e92b (patch)
treec9af429ceca2d45458a96f622b42ad69d9296b3f /Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch
parentff73ad6ddea1718c54f46e6c952be54875a61841 (diff)
downloadPaper-7f3aa1ed290729ec5431c38e495f57d70663e92b.tar.gz
Paper-7f3aa1ed290729ec5431c38e495f57d70663e92b.zip
Update upstream B/CB/S
Closes GH-631
Diffstat (limited to 'Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch')
-rw-r--r--Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch b/Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch
index 1fdd3d724f..5c41e5ffcc 100644
--- a/Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch
+++ b/Spigot-Server-Patches/0045-Disable-spigot-tick-limiters.patch
@@ -1,14 +1,14 @@
-From 90b57bb256a8c8a8f5287583fc2856d60d2deae5 Mon Sep 17 00:00:00 2001
+From 75cf51dbbbd0aa6c336f1a293dbc5a33daecb0f3 Mon Sep 17 00:00:00 2001
From: Zach Brown <[email protected]>
Date: Wed, 2 Mar 2016 23:45:17 -0600
Subject: [PATCH] Disable spigot tick limiters
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 796f6c6..b4dacbe 100644
+index d2b90fda..3c5a3532 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
-@@ -1421,10 +1421,10 @@ public abstract class World implements IBlockAccess {
+@@ -1423,10 +1423,10 @@ public abstract class World implements IBlockAccess {
// CraftBukkit start - Use field for loop variable
co.aikar.timings.TimingHistory.entityTicks += this.entityList.size(); // Paper
int entitiesThisCycle = 0;
@@ -23,7 +23,7 @@ index 796f6c6..b4dacbe 100644
tickPosition = (tickPosition < entityList.size()) ? tickPosition : 0;
entity = (Entity) this.entityList.get(this.tickPosition);
// CraftBukkit end
-@@ -1490,9 +1490,7 @@ public abstract class World implements IBlockAccess {
+@@ -1492,9 +1492,7 @@ public abstract class World implements IBlockAccess {
// Spigot start
// Iterator iterator = this.tileEntityListTick.iterator();
int tilesThisCycle = 0;
@@ -35,5 +35,5 @@ index 796f6c6..b4dacbe 100644
TileEntity tileentity = (TileEntity) this.tileEntityListTick.get(tileTickPosition);
// Spigot start
--
-2.9.3
+2.12.0.windows.1