Yatopia/patches/server/0017-EMC-Ignore-statistics-warnings.patch

36 lines
2.2 KiB
Diff
Raw Normal View History

2020-06-23 01:09:14 +02:00
From 86ac42a9b9e67be33add893995f516e32d5e9802 Mon Sep 17 00:00:00 2001
2020-02-26 20:12:29 +01:00
From: Aikar <aikar@aikar.co>
Date: Thu, 30 Apr 2015 22:12:01 -0400
Subject: [PATCH] EMC Ignore statistics warnings
---
.../java/net/minecraft/server/ServerStatisticManager.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/net/minecraft/server/ServerStatisticManager.java b/src/main/java/net/minecraft/server/ServerStatisticManager.java
2020-06-16 16:46:05 +02:00
index 449e4ec8c..b3c9a5a84 100644
2020-02-26 20:12:29 +01:00
--- a/src/main/java/net/minecraft/server/ServerStatisticManager.java
+++ b/src/main/java/net/minecraft/server/ServerStatisticManager.java
@@ -113,15 +113,15 @@ public class ServerStatisticManager extends StatisticManager {
SystemUtils.a(this.a(statisticwrapper, s2), (statistic) -> {
this.a.put(statistic, nbttagcompound2.getInt(s2));
}, () -> {
- ServerStatisticManager.LOGGER.warn("Invalid statistic in {}: Don't know what {} is", this.d, s2);
+ //ServerStatisticManager.LOGGER.warn("Invalid statistic in {}: Don't know what {} is", this.d, s2); // EMC
});
} else {
- ServerStatisticManager.LOGGER.warn("Invalid statistic value in {}: Don't know what {} is for key {}", this.d, nbttagcompound2.get(s2), s2);
+ //ServerStatisticManager.LOGGER.warn("Invalid statistic value in {}: Don't know what {} is for key {}", this.d, nbttagcompound2.get(s2), s2); // EMC
}
}
}, () -> {
- ServerStatisticManager.LOGGER.warn("Invalid statistic type in {}: Don't know what {} is", this.d, s1);
+ //ServerStatisticManager.LOGGER.warn("Invalid statistic type in {}: Don't know what {} is", this.d, s1); // EMC
});
}
}
--
2.25.1.windows.1