Bug fixes

Fixed some bugs with targeting flags
Fixed action equip bug for real this time
Fixed server crash when commands hit no targets
This commit is contained in:
yogurt 2018-05-31 11:25:55 -05:00
parent 0f7e6f359d
commit 79f2edf406
7 changed files with 46 additions and 39 deletions

View file

@ -1274,6 +1274,7 @@ namespace FFXIVClassic_Map_Server
}
public static void EquipAbility(Player player, byte classId, ushort hotbarSlot, uint commandId, uint recastTime)
{
commandId ^= 0xA0F00000;
if (commandId > 0)
{
using (MySqlConnection conn = new MySqlConnection(