Skip to content

Crash in DevTest #173

@Watilin

Description

@Watilin

Pipeworks causes a crash in DevTest because it incorrectly assumes the existence of mapgen water nodes.

Steps to reproduce

  • Install Development Test from whatever source you prefer (I used Luanti's content browser)
  • Install pipeworks and its dependencies
  • Create a DevTest world and enable pipeworks and its dependencies for this world
  • Select the world and click “Play”

Expected results

The game should run.

Observed results

The game crashes at startup with this message:

2025-11-15 09:58:01: ERROR[Main]: ModError: Failed to load and run script from C:\games\luanti-5.14.0-win64\mods\pipeworks\init.lua:
2025-11-15 09:58:01: ERROR[Main]: C:\games\luanti-5.14.0-win64\mods\pipeworks\init.lua:13: attempt to index field 'mapgen_water_source' (a nil value)
2025-11-15 09:58:01: ERROR[Main]: stack traceback:
2025-11-15 09:58:01: ERROR[Main]: 	C:\games\luanti-5.14.0-win64\mods\pipeworks\init.lua:13: in main chunk
2025-11-15 09:58:01: ERROR[Main]: Check debug.txt for details.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with games or other mods

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions