2023-07-02 18:20:33 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Luna <lunahatesgogle@gmail.com>
|
|
|
|
Date: Sat, 1 Jul 2023 21:22:29 -0300
|
|
|
|
Subject: [PATCH] Don't log on too many chained updates
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java b/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java
|
2023-08-23 00:24:44 +00:00
|
|
|
index 5ddd8108e077bc7c1a9524854ac591c6ab99c174..b6577352c043b44df2e32a35a6af2711339f15eb 100644
|
2023-07-02 18:20:33 +00:00
|
|
|
--- a/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java
|
|
|
|
+++ b/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java
|
2023-08-23 00:24:44 +00:00
|
|
|
@@ -57,7 +57,7 @@ public class CollectingNeighborUpdater implements NeighborUpdater {
|
2023-07-02 18:20:33 +00:00
|
|
|
this.stack.push(entry);
|
|
|
|
}
|
|
|
|
} else if (this.count - 1 == this.maxChainedNeighborUpdates) {
|
|
|
|
- LOGGER.error("Too many chained neighbor updates. Skipping the rest. First skipped position: " + pos.toShortString());
|
|
|
|
+ // Scissors - don't log
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!bl) {
|