mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-17 02:56:10 +00:00
20 lines
1.0 KiB
Diff
20 lines
1.0 KiB
Diff
|
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
|
||
|
index b1c594dc6a6b8a6c737b99272acab9e7dbd0ed63..1cc2e5a82652838b29a2e935d4284e5cc134724e 100644
|
||
|
--- a/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java
|
||
|
+++ b/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java
|
||
|
@@ -56,7 +56,7 @@ public class CollectingNeighborUpdater implements NeighborUpdater {
|
||
|
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) {
|