Fixed crash due to bad constructor for QuestDirectorMan0L001. Unsigned integers will also write out as lua 0-datatype.

This commit is contained in:
Filip Maj 2016-04-11 22:49:05 -04:00
parent fe111ab6ca
commit 108f5aa677
2 changed files with 6 additions and 2 deletions

View file

@ -121,7 +121,11 @@ namespace FFXIVClassic_Map_Server
{
foreach (LuaParam l in luaParams)
{
writer.Write((Byte)l.typeID);
if (l.typeID == 0x1)
writer.Write((Byte)0);
else
writer.Write((Byte)l.typeID);
switch (l.typeID)
{
case 0x0: //Int32