Fix tile debug feature

This commit is contained in:
Li 2022-11-15 04:11:06 +13:00
parent ed12e9ad12
commit 6613b0cb87

View file

@ -6125,7 +6125,7 @@ namespace HISP.Server
} }
// TODO: REMEMBER TO CHANGE THIS BACK // TODO: REMEMBER TO CHANGE THIS BACK
//byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo(returnedMsg); //byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo(returnedMsg);
byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo("ground: " + Map.GetTileId(x, y, false) + ", overlay: " + Map.GetTileId(x, y, true)); byte[] tileInfoPacket = PacketBuilder.CreateTileClickInfo("ground: " + Map.GetTileId(x, y, false)-1 + ", overlay: " + Map.GetTileId(x, y, true)-1);
sender.SendPacket(tileInfoPacket); sender.SendPacket(tileInfoPacket);
} }
} }