Skip to content

Commit

Permalink
Fix BakedModel#getModelData not being called for breaking texture (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt authored Jan 24, 2024
1 parent 2708cc5 commit 72cb0c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
this.f_110901_ = new LiquidBlockRenderer();
}

@@ -45,19 +_,27 @@
@@ -45,19 +_,28 @@
return this.f_110899_;
}

Expand All @@ -22,6 +22,7 @@
BakedModel bakedmodel = this.f_110899_.m_110893_(p_110919_);
long i = p_110919_.m_60726_(p_110920_);
- this.f_110900_.m_234379_(p_110921_, bakedmodel, p_110919_, p_110920_, p_110922_, p_110923_, true, this.f_110902_, i, OverlayTexture.f_118083_);
+ modelData = bakedmodel.getModelData(p_110921_, p_110920_, p_110919_, modelData);
+ this.f_110900_.tesselateBlock(p_110921_, bakedmodel, p_110919_, p_110920_, p_110922_, p_110923_, true, this.f_110902_, i, OverlayTexture.f_118083_, modelData, null);
}
}
Expand Down

0 comments on commit 72cb0c4

Please sign in to comment.