--- a/net/minecraft/stats/ServerStatisticManager.java +++ b/net/minecraft/stats/ServerStatisticManager.java @@ -1,3 +1,4 @@ +// mc-dev import package net.minecraft.stats; import com.google.common.collect.Sets; @@ -53,11 +54,11 @@ private final File file; private final Set> dirty = Sets.newHashSet(); - private static Codec, Integer>> createTypedStatsCodec(StatisticWrapper statisticwrapper) { + private static Codec, Integer>> createTypedStatsCodec(StatisticWrapper statisticwrapper) { // CraftBukkit - decompile error Codec codec = statisticwrapper.getRegistry().byNameCodec(); Objects.requireNonNull(statisticwrapper); - Codec> codec1 = codec.flatComapMap(statisticwrapper::get, (statistic) -> { + Codec> codec1 = codec.flatComapMap(statisticwrapper::get, (statistic) -> { // CraftBukkit - decompile error return statistic.getType() == statisticwrapper ? DataResult.success(statistic.getValue()) : DataResult.error(() -> { String s = String.valueOf(statisticwrapper);