fix(core): Fixes buy packet (#453)

- [X] Fixes buy packet
- [X] Changes from null to empty string in gump initial text
This commit is contained in:
Kamron Batman 2021-02-04 10:40:41 -08:00 • committed by GitHub
parent 995149ad01
commit 50e9b367fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 12 deletions

View file

@ -38,7 +38,7 @@ namespace Server.Network
if (!vendor.Deleted && Utility.RangeCheck(vendor.Location, state.Mobile.Location, 10) && flag == 0x02)
{
var msgSize = reader.Remaining;
var msgSize = packetLength - 8; // Remaining bytes
if (msgSize / 7 > 100)
{