diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-10-23 17:10:34 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-10-23 17:10:34 +0200 |
commit | 418a9606bf79abbb6d4c9d488b5093309eae1b4d (patch) | |
tree | 61526537d8efc70da04622d0e36ac36273acd514 | |
parent | cd95fc79771124a8c0e6bbd9cbabce3650fc75da (diff) |
Fixed fatal error
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -945,7 +945,7 @@ minetest.register_on_newplayer(function(player) if (apartment.rent( v.pos, player:get_player_name(), nil, player )) then player:moveto( v.pos, false); local meta = minetest.get_meta( v.pos ); - meta:set_string( 'formspec', apartment.get_formspec( pos, player )); + meta:set_string( 'formspec', apartment.get_formspec( v.pos, player )); minetest.chat_send_player(player:get_player_name(),"Welcome to your new apartment. You can return here by saying '/aphome'") break end |