Skip to content

Commit

Permalink
Fix build on 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jun 27, 2024
1 parent 19f7ad5 commit d32d171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object Constants {
const val CUSTOM_SODIUM_NAME: String = "sodium-fabric-0.5.9-snapshotmc1.21-pre3-local.jar"

const val IS_SHARED_BETA: Boolean = false
const val ACTIVATE_RENDERDOC: Boolean = true
const val ACTIVATE_RENDERDOC: Boolean = false
const val BETA_TAG: String = "DH Support"
const val BETA_VERSION = 4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void injectMidBlock(float x, float y, float z, CallbackInfoReturnable<Ve
}


vertexPointers[vertexCount] = vertexPointer;
vertexPointers[iris$vertexCount] = vertexPointer;

if (injectNormalAndUV1 && this.elementsToFill != (this.elementsToFill & ~VertexFormatElement.NORMAL.mask())) {
this.setNormal(0, 0, 0);
Expand Down

0 comments on commit d32d171

Please sign in to comment.