1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 16:08:51 -05:00
minetest/builtin
est31 2a7d01b833 Some map border related fixes
1. Check for entity addition success in spawn_item implementation
2. Check for success in item_drop callback, so that the player
doesn't lose the item if they are outside bounds and try to drop it.
3. When existing player joins game, check that their position is inside
map bounds. If not, set their position to the return value of findSpawnPos().
4. Make findSpawnPos() respect the border

2 fixes a lua crash if a player drops an item outside map bounds.
3 fixes an assertion crash if a player leaves when being outside map bounds,
and then rejoins.
2015-09-29 23:06:15 +02:00
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
common Add /emergeblocks command and core.emerge_area() Lua API 2015-09-23 15:56:24 -04:00
fstk Replace "self program" with "this program" in fstk boilerplates 2015-09-21 20:05:17 +02:00
game Some map border related fixes 2015-09-29 23:06:15 +02:00
mainmenu Minor tweaks handle_settings_buttons 2015-09-14 08:29:15 +02:00
init.lua Add strict module 2014-11-19 12:40:54 -05:00