Fix compile error

This commit is contained in:
embeddedt 2023-04-11 11:16:07 -04:00
parent 1889889f01
commit 4f17319836
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -177,7 +177,7 @@ public abstract class ModelBakeryMixin {
gatherModelMaterials(materialSet);
}
@Redirect(method = "processLoading", at = @At(value = "INVOKE", target = "Ljava/util/Map;forEach(Ljava/util/function/BiConsumer;)V", ordinal = 0))
@Redirect(method = "processLoading", at = @At(value = "INVOKE", target = "Ljava/util/Map;forEach(Ljava/util/function/BiConsumer;)V", ordinal = 0), remap = false)
private void fetchStaticDefinitions(Map<ResourceLocation, StateDefinition<Block, BlockState>> map, BiConsumer<ResourceLocation, StateDefinition<Block, BlockState>> func) {
map.forEach((loc, def) -> blockStateFiles.add(loc));
}