Add files via upload

master
AiTechEye 2022-05-17 18:39:27 +02:00 committed by GitHub
parent 52454f29ca
commit 5db9228cc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ protect.add_game_rule_area=function(pos1,pos2,title,name,game_rule)
end
end
pos1,pos2 = protect.sort(pos1,pos2)
table.insert(protect.areas,{id=id,game_rule=game_rule == nil,owner=name or "game",pos1=pos1,pos2=pos2,title=title,date=default.date("get")})
table.insert(protect.areas,{id=id,game_rule=game_rule == nil,owner=name or "*game",pos1=pos1,pos2=pos2,title=title,date=default.date("get")})
protect.storage:set_string("areas",minetest.serialize(protect.areas))
return id
end