Fixed work values not updating. GL UI now shows up though it isn't configured.

This commit is contained in:
Filip Maj 2017-06-24 16:58:02 -04:00
parent 186d5b5cc5
commit 8fb4910320
7 changed files with 33 additions and 15 deletions

View file

@ -372,12 +372,12 @@ namespace FFXIVClassic_Map_Server.lua
CallLuaFunction(player, target, "onEventStarted", false, LuaUtils.CreateLuaParamObjectList(lparams));
}
private DynValue ResolveResume(Player player, Coroutine coroutine, DynValue value)
public DynValue ResolveResume(Player player, Coroutine coroutine, DynValue value)
{
if (value == null || value.IsVoid())
return value;
if (value.String != null && value.String.Equals("_WAIT_EVENT"))
if (player != null && value.String != null && value.String.Equals("_WAIT_EVENT"))
{
GetInstance().AddWaitEventCoroutine(player, coroutine);
}