Fixed crash when spectating kinky dungeon

Should hopefully fix a crash when spectating kinky dungeon by preventing bad data from going through.
This commit is contained in:
Ada18980 2021-12-08 23:12:15 -08:00 committed by GitHub
parent 3db3ab2267
commit 047e57a434
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ function KinkyDungeonPackData(IncludeMap, IncludeItems, IncludeInventory, Includ
return "I/" + value.restraint.name + "/l" + value.lock;
}
}
return value;
return "";
}) : "";
let meta = {w: KinkyDungeonGridWidth, h: KinkyDungeonGridHeight, x:KinkyDungeonPlayerEntity.x, y:KinkyDungeonPlayerEntity.y,};