mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-26 12:45:52 +01:00
36 lines
2.2 KiB
Diff
36 lines
2.2 KiB
Diff
From def9be892af238fdea48bb42156ba47c73123987 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 449e4ec8..b3c9a5a8 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
|
|
|