mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-08-24 23:03:00 +02:00
36 lines
2.2 KiB
Diff
36 lines
2.2 KiB
Diff
From 86ac42a9b9e67be33add893995f516e32d5e9802 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
|
|
|