Another bugfix

This commit is contained in:
luk3yx 2019-08-17 12:08:41 +12:00
parent 1a6ac3a3b8
commit 6a4c8f3f30
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ function snippets.Form(player)
if type(player) ~= 'string' or not get_player_by_name(player) then
error('Attempted to create a Form for a non-existent player!', 2)
end
local form = {context = {}}
local form = {context = {}, pname = player}
setmetatable(form, {__index = Form})
forms[form] = {
victim = player, prepend = '', formspec = '', append = '',