Skip to content

Conversation

@christianazinn
Copy link

The paths in the Kotlin files are wrong for the new Decode fields, resulting in

Exception in thread "main" java.lang.IllegalArgumentException: input == null!
	at java.desktop/javax.imageio.ImageIO.read(Unknown Source)
	at org.rowlandhall.meepmeep.MeepMeep.setBackground(MeepMeep.kt:527)
	at com.example.meepmeeptesting.MeepMeepTesting.main(MeepMeepTesting.java:28)

when trying to use them. This PR just updates the paths to match what's actually in resources/background.

@donovanbradford
Copy link

👍 Found this as well.

@donovanbradford
Copy link

This works OK

        Image background = ImageIO.read(
                MeepMeep.class.getResourceAsStream("/background/season-2025-decode/field-2025-juice-dark.png")
        );
        meepMeep.setBackground(background)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants