Skip to content

Commit

Permalink
fix: crash after breaking change of geckolib in 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Dec 21, 2022
1 parent 14f102d commit 1d15f61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jei_version=11.3.0.262
curios_mc_version=1.19.3
curios_version=5.1.1.2
geckolib_mc_version=1.19.3
geckolib_version=4.0.1
geckolib_version=4.0.2
smartbrainlib_file_id=4162763
smartbrainlib_src_file_id=4162765

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public StorageControllerGeoRenderer(BlockEntityRendererProvider.Context renderer
public void actuallyRender(PoseStack poseStack, StorageControllerBlockEntity animatable, BakedGeoModel model, RenderType renderType, MultiBufferSource bufferSource, VertexConsumer bufferIn, boolean isReRender, float partialTicks, int packedLightIn, int packedOverlay, float red, float green, float blue, float alpha) {

poseStack.pushPose();
this.renderStartPose = new Matrix4f(poseStack.last().pose());;

//poseStack.translate(0, 0.01f, 0); //we don't need this
//move above block
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ side = "BOTH"
[[dependencies.occultism]]
modId = "geckolib"
mandatory = true
versionRange = "[1.19.3-4.0.1,)"
versionRange = "[1.19.3-4.0.2,)"
side = "BOTH"

[[dependencies.occultism]]
Expand Down

0 comments on commit 1d15f61

Please sign in to comment.