diff --git a/plotmarker_formspec.lua b/plotmarker_formspec.lua index 0dd65ad..31095ee 100644 --- a/plotmarker_formspec.lua +++ b/plotmarker_formspec.lua @@ -175,7 +175,7 @@ mg_villages.plotmarker_formspec = function( pos, formname, fields, player ) formspec = formspec.."label[3,3;"..S("The plot has been cleared.").."]"; else -- actually place it (disregarding mirroring) - local error_msg = handle_schematics.place_building_from_file( + local error_msg = handle_schematics.place_building_from_file_or_cache( start_pos, end_pos, building_name, diff --git a/protection.lua b/protection.lua index f9ac921..712dc3e 100644 --- a/protection.lua +++ b/protection.lua @@ -363,7 +363,7 @@ mg_villages.plotmarker_formspec = function( pos, formname, fields, player ) formspec = formspec.."label[3,3;"..S("The plot has been cleared.").."]"; else -- actually place it (disregarding mirroring) - local error_msg = handle_schematics.place_building_from_file( + local error_msg = handle_schematics.place_building_from_file_or_cache( start_pos, end_pos, building_name,