Skip to content

Conversation

@Zorbatron
Copy link
Member

What

Fixes an NPE in CCL when shuttering pipes due to the little arrow image being registered to PipeRenderer#RESTRICTOR_MAP before the texture was actually loaded, which filled it with nulls.

Implementation Details

Move PipeRenderer#initializeRestrictor() after Textures#register().

Outcome

Pipes can be shuttered without making the pipes invisible and CCL exploding :carbomb:.

@Zorbatron Zorbatron requested a review from a team as a code owner June 16, 2025 11:27
@Zorbatron Zorbatron added the type: bug Something isn't working label Jun 16, 2025
@ALongStringOfNumbers ALongStringOfNumbers merged commit 95aa35e into master Jun 18, 2025
3 of 4 checks passed
@ALongStringOfNumbers ALongStringOfNumbers deleted the zb/pipe-shutter-texture-npe-fix branch June 18, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants