14 Commits

Author SHA1 Message Date
bell07
d88094f87e Be more tolerant agains unknown items in meshnode
I disabled some mods and a ship produces crash with error 
```
2018-01-10 16:55:16: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'meshnode' in callback luaentity_Activate(): /usr/share/minetest/builtin/common/misc_helpers.lua:590: table index is nil
2018-01-10 16:55:16: ERROR[Main]: stack traceback:
2018-01-10 16:55:16: ERROR[Main]: 	/usr/share/minetest/builtin/common/misc_helpers.lua:590: in function 'copy'
2018-01-10 16:55:16: ERROR[Main]: 	.../games/whynot/mods/tools/meshnode/api.lua:40: in function 'get_tile_textures'
2018-01-10 16:55:16: ERROR[Main]: 	.../games/whynot/mods/tools/meshnode/api.lua:205: in function 'add_entity'
2018-01-10 16:55:16: ERROR[Main]: 	.../games/whynot/mods/tools/meshnode/init.lua:192: in function <.../games/whynot/mods/tools/meshnode/init.lua:160>
```
So this is a quick fix to get the world working again
2018-01-10 19:37:41 +00:00
orbea
88815880c8 Make the meshnode privilege configurable. 2017-11-04 17:35:37 +00:00
stujones11
5901137c1e Check length of serialized item stacks 2017-07-10 17:01:47 +01:00
stujones11
e99b25ac75 Avoid double serialization of node metadata 2017-07-08 16:22:07 +01:00
stujones11
cdc3b1f54f Verify and compress all meta strings 2017-07-07 18:40:44 +01:00
stujones11
f35f4815b8 Check serialization string length limit 2017-07-05 20:37:45 +01:00
stujones11
26929187a5 Compress inventory strings for serialization 2017-07-02 18:28:02 +01:00
stujones11
83679a392a Add single frame support for animated tiles 2017-02-26 23:20:42 +00:00
stujones11
b0d487312e Fix crash with composited textures 2017-02-25 22:16:40 +00:00
stujones11
5bb561603e Small amendments to previous commit 2017-02-24 20:42:57 +00:00
stujones11
80adbb7f3b Improve shading for rotated cubes, slabs and stairs 2017-02-24 19:58:48 +00:00
stujones11
84fe9864a3 Prevent model restoration in unloaded areas 2017-02-11 19:25:19 +00:00
stujones11
11064e0afa Remove redundant code 2017-02-05 19:05:08 +00:00
stujones11
89623ea11d Bump version to 0.3.0 2016-12-31 18:19:19 +00:00