Fix StoryLine Infinately loading

This commit is contained in:
Somebody
2024-08-04 21:11:03 +08:00
parent 7360dabcdc
commit fdd700bc06
8 changed files with 60 additions and 69 deletions

View File

@@ -19,7 +19,7 @@ public class CommandWindy : ICommand
if (File.Exists(filePath))
{
var fileBytes = await File.ReadAllBytesAsync(filePath);
await arg.Target.SendPacket(new PacketClientDownloadDataScNotify(fileBytes));
await arg.Target.SendPacket(new HandshakePacket(fileBytes));
await arg.SendMsg("Read BYTECODE from Lua script: " + filePath.Replace("\\", "/"));
}
else