Change villager maps to private final

This commit is contained in:
DoctorMacc 2020-04-11 15:18:22 -04:00
parent 0af919effe
commit f3344dbfed

View file

@ -37,8 +37,8 @@ import org.geysermc.connector.network.session.GeyserSession;
public class VillagerEntity extends AbstractMerchantEntity { public class VillagerEntity extends AbstractMerchantEntity {
public static Int2IntMap VILLAGER_VARIANTS = new Int2IntOpenHashMap(); private static final Int2IntMap VILLAGER_VARIANTS = new Int2IntOpenHashMap();
public static Int2IntMap VILLAGER_REGIONS = new Int2IntOpenHashMap(); private static final Int2IntMap VILLAGER_REGIONS = new Int2IntOpenHashMap();
static { static {
// Java villager profession IDs -> Bedrock // Java villager profession IDs -> Bedrock