2021-06-12 02:57:04 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
|
|
Date: Wed, 2 Mar 2016 23:45:17 -0600
|
|
|
|
Subject: [PATCH] Disable spigot tick limiters
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
|
2024-01-24 13:07:40 +01:00
|
|
|
index 7ead83d46e7bb3ee3586acf695b08f197f61f04a..6fbadd278138743f87fcf6b3c3d3c57af41d437c 100644
|
2021-06-12 02:57:04 +02:00
|
|
|
--- a/src/main/java/net/minecraft/world/level/Level.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/Level.java
|
2024-01-24 13:07:40 +01:00
|
|
|
@@ -707,9 +707,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
2023-12-05 20:39:26 +01:00
|
|
|
boolean flag = this.tickRateManager().runsNormally();
|
|
|
|
|
2021-06-12 02:57:04 +02:00
|
|
|
int tilesThisCycle = 0;
|
|
|
|
- for (this.tileLimiter.initTick();
|
|
|
|
- tilesThisCycle < this.blockEntityTickers.size() && (tilesThisCycle % 10 != 0 || this.tileLimiter.shouldContinue());
|
|
|
|
- this.tileTickPosition++, tilesThisCycle++) {
|
|
|
|
+ for (tileTickPosition = 0; tileTickPosition < this.blockEntityTickers.size(); tileTickPosition++) { // Paper - Disable tick limiters
|
|
|
|
this.tileTickPosition = (this.tileTickPosition < this.blockEntityTickers.size()) ? this.tileTickPosition : 0;
|
2023-10-27 01:34:58 +02:00
|
|
|
TickingBlockEntity tickingblockentity = (TickingBlockEntity) this.blockEntityTickers.get(this.tileTickPosition);
|
2023-12-25 23:51:56 +01:00
|
|
|
// Spigot end
|