Update to Minecraft 1.21.2

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2024-10-23 02:15:00 +11:00
parent 2c4beb962b
commit d3a23f42c3
522 changed files with 8501 additions and 6477 deletions

View File

@@ -395,8 +395,8 @@ public class CraftScheduler implements BukkitScheduler {
/**
* This method is designed to never block or wait for locks; an immediate execution of all current tasks.
*/
public void mainThreadHeartbeat(final int currentTick) {
this.currentTick = currentTick;
public void mainThreadHeartbeat() {
this.currentTick++;
final List<CraftTask> temp = this.temp;
parsePending();
while (isReady(currentTick)) {