Skip to content

Commit 99997ce

Browse files
committed
Don't bleed out the stack. Fix #140
1 parent 690ea63 commit 99997ce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

gradle-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source: "https://github.com/tr7zw/ProcessedModTemplate/tree/master"
33
replacements:
44
name: "WaveyCapes"
55
id: "waveycapes"
6-
version: "1.10.1"
6+
version: "1.10.2"
77
description: "The cape shouldn't be a static slab!"
88
homepageUrl: "https://modrinth.com/mod/wavey-capes"
99
sourcesUrl: "https://github.com/tr7zw/WaveyCapes"

src/main/java/dev/tr7zw/waveycapes/render/CustomCapeRenderer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ private void modifyPoseStackSimulation(PoseStack poseStack, PlayerWrapper capeRe
267267
BasicSimulation simulation = ((CapeHolder) entity).getSimulation();
268268
if (simulation == null) {
269269
// race condition where the cape is being rendered before the simulation is initialized, just render it without movement instead of crashing
270+
poseStack.pushPose();
270271
return;
271272
}
272273
poseStack.pushPose();

0 commit comments

Comments
 (0)