ThinkingStudios / RyoamicLights

LambDynamicLights unofficial architectury port. A dynamic lights mod for Minecraft.
MIT License
11 stars 2 forks source link

Datagen doesn't work with mod installed #12

Closed thomasglasser closed 5 months ago

thomasglasser commented 7 months ago

Describe the bug When running forge datagen, it crashes because Minecraft.getInstance() returns null.

To Reproduce Steps to reproduce the behavior:

  1. Install mod
  2. Run datagen

Expected behavior The mod wouldn't run any logic during datagen

Additional context This should be fixed by checking if it returns null during client initialization

TexBlock commented 6 months ago

log?

thomasglasser commented 6 months ago

latest.log

thomasglasser commented 5 months ago

The arch port removed this check and this issue is back