moar fixes

This commit is contained in:
Jake Potrebic
2022-02-28 13:43:31 -08:00
parent 33928501c4
commit d8d13a67c4
18 changed files with 92 additions and 73 deletions

View File

@@ -356,9 +356,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ return null;
+ }
+
+ net.minecraft.resources.ResourceLocation key;
+ net.minecraft.resources.ResourceLocation key = null;
+ if (isTag) {
+ key = blockParser.getTag();
+ if (blockParser.getTag() != null) {
+ key = blockParser.getTag().location();
+ }
+ } else {
+ key = blockParser.id;
+ }