ElCeejo / draconis

Adds Dragons and related resources and equipment to Minetest Game
MIT License
18 stars 23 forks source link

Fix nil pointer in Minetest 5.8.0 on mac #43

Open homiak opened 8 months ago

homiak commented 8 months ago

This PR proposes a nil pointer fix (see screenshot)

screenshot

Please consider merging it to the main branch.

BobOmbuzal commented 8 months ago

got the same issue on linux when i apply this fix, i don't get that lua error any more, but this:

2024-03-30 22:23:59: ERROR[Server]: An unhandled exception occurred: C++ out of memory
2024-03-30 22:23:59: ERROR[Server]: In thread 7f56f28a0700:
2024-03-30 22:23:59: ERROR[Server]: /mnt/mt/minetest/src/server.cpp:8c: virtual void* ServerThread::run(): A fatal error occurred: C++ out of memory