MoreMcmeta / core

Animate almost any Minecraft texture with more options. Texture configuration API. 1.16-1.20
GNU Lesser General Public License v3.0
28 stars 5 forks source link

Crash with Moonlight Library (Cannot read the array length because "buf" is null) #35

Closed Starexify closed 1 year ago

Starexify commented 1 year ago

Describe the bug Crash.

To reproduce Steps to reproduce the behavior:

  1. Add the mod 'Moremcmeta and it's plugin Emissive'
  2. Run Forge Minecraft
  3. See crash log: https://pastebin.com/teQHNHqj

Expected behavior Not crash

Which Minecraft versions does this bug affect? 1.18.2

Mod loader Which mod loaders does this bug affect?

Mods list

Resource pack What resource packs are you using? Please link to them or attach them to this issue. I attach them if there is an issue with resourcepacks

Additional context On 1.20.1 does the same.

soir20 commented 1 year ago

This is a bug in the Moonlight Library mod. I'll create an issue or PR on their end.

I'm going to leave this open for now because I've been wanting to add an icon to MoreMcmeta's internal pack, and that might mitigate this issue.

soir20 commented 1 year ago

Unfortunately, it doesn't look like adding a pack icon will mitigate the problem. (There might be a new release soon to add one anyway.)

Thanks for reporting this issue. Please see the linked pull requests above and update Moonlight Library once they are merged and a new version is released. You can get status updates on these PRs by subscribing to notifications on the right-hand side. I will close this issue and mark it as transferred since the pull requests have been submitted.

soir20 commented 1 year ago

I also forgot to mention that you can downgrade to MoreMcmeta 4.1.0 as a workaround until Moonlight fixes this on their end.