Fix tile id thingy again

This commit is contained in:
Li 2022-11-15 04:15:13 +13:00
parent 6613b0cb87
commit 2b6db887ed
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<History>True|2022-11-14T15:14:26.1245995Z;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

View file

@ -6123,9 +6123,9 @@ namespace HISP.Server
returnedMsg = Messages.FormatPlayerHereMessage(usernameStr);
}
// TODO: REMEMBER TO CHANGE THIS BACK
//byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo(returnedMsg);
byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo("ground: " + Map.GetTileId(x, y, false)-1 + ", overlay: " + Map.GetTileId(x, y, true)-1);
// Debug tile id information
byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo("ground: " + (Map.GetTileId(x, y, false)-1).ToString() + ", overlay: " + (Map.GetTileId(x, y, true)-1).ToString());
sender.SendPacket(tileInfoPacket);
}
}