From 36b8884d923211dc0df1965445c69b82781d59a6 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Fri, 8 Oct 2021 09:37:04 +0200 Subject: [PATCH] Fix leftover FU load factors --- .../protocols/protocol1_11to1_10/data/PotionColorMapping.java | 2 +- .../data/AchievementTranslationMapping.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_11to1_10/data/PotionColorMapping.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_11to1_10/data/PotionColorMapping.java index 58f1d7afc..de62fb648 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_11to1_10/data/PotionColorMapping.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_11to1_10/data/PotionColorMapping.java @@ -24,7 +24,7 @@ import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; public class PotionColorMapping { // to mapping - private static final Int2ObjectMap> POTIONS = new Int2ObjectOpenHashMap<>(37, 1.0F); + private static final Int2ObjectMap> POTIONS = new Int2ObjectOpenHashMap<>(37, 0.99F); static { addRewrite(0, 3694022, false); diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_12to1_11_1/data/AchievementTranslationMapping.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_12to1_11_1/data/AchievementTranslationMapping.java index b1487085b..4ad8e9f0e 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_12to1_11_1/data/AchievementTranslationMapping.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_12to1_11_1/data/AchievementTranslationMapping.java @@ -24,7 +24,7 @@ import java.util.Set; public class AchievementTranslationMapping { - private static final Object2ObjectOpenHashMap ACHIEVEMENTS = new Object2ObjectOpenHashMap<>(150, 1.0f); + private static final Object2ObjectOpenHashMap ACHIEVEMENTS = new Object2ObjectOpenHashMap<>(150, 0.99f); private static final Set SPECIAL_ACHIEVEMENTS = new HashSet<>(10); static {