Skip to content

Commit

Permalink
Merge pull request #15 from Bluethefurry/NativeUI-Port
Browse files Browse the repository at this point in the history
fix unbans not working
  • Loading branch information
Blumlaut authored Apr 15, 2018
2 parents 5c6f74c + aafd6ba commit 0c5d9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui_c.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function GenerateMenu() -- this is a big ass function
local thisItem = NativeUI.CreateItem(reason, "~r~~h~NOTE:~h~~w~ Pressing Confirm will unban this Player.")
unbanPlayer:AddItem(thisItem)
thisItem.Activated = function(ParentMenu,SelectedItem)
TriggerServerEvent("EasyAdmin:unbanPlayer", banlist[i].identifier)
TriggerServerEvent("EasyAdmin:unbanPlayer", reason)
TriggerServerEvent("EasyAdmin:updateBanlist")
mainMenu:Visible(false)
GenerateMenu()
Expand Down

0 comments on commit 0c5d9e6

Please sign in to comment.