diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-03-03 06:08:53 +0100 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-03-03 06:08:53 +0100 |
commit | ee0f8564195995aa73be4a9c20ebae982472578f (patch) | |
tree | edbc9afabb5f2d22871fc764eaeff50e07ff6a27 | |
parent | fa1efe2a290f3549d7f2ef61fe62a4f41e5caa2f (diff) | |
parent | 1a817cef3a9dab742df6806eee340ac24ab015bb (diff) |
Merge pull request #4 from VanessaE/master
minetest.env:* --> minetest.*
-rw-r--r-- | init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -84,7 +84,7 @@ markers.marker_placed = function( pos, placer, itemstack ) return; end - local meta = minetest.env:get_meta( pos ); + local meta = minetest.get_meta( pos ); local name = placer:get_player_name(); meta:set_string( 'infotext', 'Marker at '..minetest.pos_to_string( pos ).. @@ -199,7 +199,7 @@ markers.marker_can_dig = function(pos,player) return true; end - local meta = minetest.env:get_meta( pos ); + local meta = minetest.get_meta( pos ); local owner = meta:get_string( 'owner' ); local time = meta:get_string( 'time' ); @@ -273,7 +273,7 @@ end markers.get_marker_formspec = function(player, pos, error_msg) local formspec = ""; - local meta = minetest.env:get_meta( pos ); + local meta = minetest.get_meta( pos ); local owner = meta:get_string( 'owner' ); local name = player:get_player_name(); @@ -430,7 +430,7 @@ markers.marker_on_receive_fields = function(pos, formname, fields, sender) end - local meta = minetest.env:get_meta( pos ); + local meta = minetest.get_meta( pos ); local name = sender:get_player_name(); |