mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-27 13:15:19 +01:00
36 lines
2.2 KiB
Diff
36 lines
2.2 KiB
Diff
From d36229523dbf75db20c668e93d166e34fe4dfc78 Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 449e4ec8c..b3c9a5a84 100644
|
|
--- 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
|
|
|