From 868c5ba2032ddfbe9ff83e210a7463a4abc5acc3 Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Sun, 8 Oct 2023 05:05:11 +0200 Subject: [PATCH] Make registry fields in 1.8 ItemRewriter public (#3472) --- .../protocols/protocol1_9to1_8/ItemRewriter.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_9to1_8/ItemRewriter.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_9to1_8/ItemRewriter.java index 44a644f55..48af3c3bf 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_9to1_8/ItemRewriter.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_9to1_8/ItemRewriter.java @@ -30,12 +30,12 @@ import java.util.Map; public class ItemRewriter { - private static final Map ENTTIY_NAME_TO_ID = new HashMap<>(); - private static final Map ENTTIY_ID_TO_NAME = new HashMap<>(); - private static final Map POTION_NAME_TO_ID = new HashMap<>(); - private static final Map POTION_ID_TO_NAME = new HashMap<>(); + public static final Map ENTTIY_NAME_TO_ID = new HashMap<>(); + public static final Map ENTTIY_ID_TO_NAME = new HashMap<>(); + public static final Map POTION_NAME_TO_ID = new HashMap<>(); + public static final Map POTION_ID_TO_NAME = new HashMap<>(); - private static final Int2IntMap POTION_INDEX = new Int2IntOpenHashMap(36, .99F); + public static final Int2IntMap POTION_INDEX = new Int2IntOpenHashMap(36, .99F); static { /* Entities */