From e8851ea7a668ee1ee74af3f25e7f56a516771b38 Mon Sep 17 00:00:00 2001 From: Luke Bemish Date: Sat, 9 Sep 2023 09:33:04 +0100 Subject: [PATCH] Fix new checked tag queue --- .../lukebemish/excavatedvariants/impl/ExcavatedVariants.java | 1 - .../dev/lukebemish/excavatedvariants/{ => impl}/TagQueue.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) rename Common/src/main/java/dev/lukebemish/excavatedvariants/{ => impl}/TagQueue.java (94%) diff --git a/Common/src/main/java/dev/lukebemish/excavatedvariants/impl/ExcavatedVariants.java b/Common/src/main/java/dev/lukebemish/excavatedvariants/impl/ExcavatedVariants.java index 81c0843..37b6ef0 100644 --- a/Common/src/main/java/dev/lukebemish/excavatedvariants/impl/ExcavatedVariants.java +++ b/Common/src/main/java/dev/lukebemish/excavatedvariants/impl/ExcavatedVariants.java @@ -13,7 +13,6 @@ import com.mojang.datafixers.util.Pair; import dev.lukebemish.dynamicassetgenerator.api.DataResourceCache; import dev.lukebemish.dynamicassetgenerator.api.ResourceCache; -import dev.lukebemish.excavatedvariants.TagQueue; import dev.lukebemish.excavatedvariants.api.DataProvider; import dev.lukebemish.excavatedvariants.api.DataReceiver; import dev.lukebemish.excavatedvariants.api.data.Ore; diff --git a/Common/src/main/java/dev/lukebemish/excavatedvariants/TagQueue.java b/Common/src/main/java/dev/lukebemish/excavatedvariants/impl/TagQueue.java similarity index 94% rename from Common/src/main/java/dev/lukebemish/excavatedvariants/TagQueue.java rename to Common/src/main/java/dev/lukebemish/excavatedvariants/impl/TagQueue.java index 54c2b65..df5530e 100644 --- a/Common/src/main/java/dev/lukebemish/excavatedvariants/TagQueue.java +++ b/Common/src/main/java/dev/lukebemish/excavatedvariants/impl/TagQueue.java @@ -3,7 +3,7 @@ * SPDX-License-Identifier: LGPL-3.0-or-later */ -package dev.lukebemish.excavatedvariants; +package dev.lukebemish.excavatedvariants.impl; import net.minecraft.core.registries.BuiltInRegistries; import net.minecraft.resources.ResourceLocation; @@ -40,7 +40,7 @@ public Map> get() { set.add(rl); } } - out.put(entry.getKey(), entry.getValue()); + out.put(entry.getKey(), set); } return out;