1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-22 01:17:38 +00:00

Fix model hook nullability

Only an issue on the latest FAPI, so we also bump that.
This commit is contained in:
Jonathan Coates
2023-08-05 10:32:21 +01:00
parent 41b6711b38
commit b6632c9ed9
4 changed files with 4 additions and 3 deletions

View File

@@ -69,6 +69,7 @@ public final class ModelRenderer {
* @param blue The blue tint of this quad.
* @param lightmapCoord The lightmap coordinate
* @param overlayLight The overlay light.
* @param invert Whether to reverse the order of this quad.
*/
private static void putBulkQuad(VertexConsumer buffer, PoseStack.Pose pose, BakedQuad quad, float red, float green, float blue, int lightmapCoord, int overlayLight, boolean invert) {
var matrix = pose.pose();