diff --git a/patches/com/mojang/blaze3d/framegraph/FrameGraphBuilder.java.patch b/patches/com/mojang/blaze3d/framegraph/FrameGraphBuilder.java.patch index 84d9e314b4..d9d632bd4a 100644 --- a/patches/com/mojang/blaze3d/framegraph/FrameGraphBuilder.java.patch +++ b/patches/com/mojang/blaze3d/framegraph/FrameGraphBuilder.java.patch @@ -1,22 +1,11 @@ --- a/com/mojang/blaze3d/framegraph/FrameGraphBuilder.java +++ b/com/mojang/blaze3d/framegraph/FrameGraphBuilder.java -@@ -173,6 +_,11 @@ - public T get() { - return this.resource; - } -+ -+ @Override -+ public ResourceDescriptor getDescriptor() { -+ return null; -+ } - } - - @OnlyIn(Dist.CLIENT) -@@ -211,6 +_,10 @@ +@@ -211,6 +_,11 @@ public String toString() { return this.createdBy != null ? this.holder + "#" + this.version + " (from " + this.createdBy + ")" : this.holder + "#" + this.version; } + ++ @Nullable + public ResourceDescriptor getDescriptor() { + return this.holder.getDescriptor(); + }