From 9e4e7072da8f565eef37da7558053a436b9cbba3 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 1 Sep 2014 14:20:31 -0400 Subject: Update Mapgen VoxelManipulator on buffer invalidation --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 86c64f9be..46b789526 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2099,6 +2099,8 @@ methods: ^ To be used only by a VoxelManip object from minetest.get_mapgen_object ^ (p1, p2) is the area in which lighting is set; defaults to the whole area if left out - update_liquids(): Update liquid flow +- was_modified(): Returns true or false if the data in the voxel manipulator had been modified since + the last read from map, due to a call to minetest.set_data() on the loaded area elsewhere VoxelArea: A helper class for voxel areas - Can be created via VoxelArea:new{MinEdge=pmin, MaxEdge=pmax} -- cgit v1.2.3