mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 09:17:45 +00:00
Fix removing abilities from hotbar
This commit is contained in:
parent
57f3de66f8
commit
a92b558c88
1 changed files with 1 additions and 1 deletions
|
@ -2122,7 +2122,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
|
|
||||||
public void UnequipAbility(ushort hotbarSlot, bool printMessage = true)
|
public void UnequipAbility(ushort hotbarSlot, bool printMessage = true)
|
||||||
{
|
{
|
||||||
ushort trueHotbarSlot = (ushort)(hotbarSlot + charaWork.commandBorder);
|
ushort trueHotbarSlot = (ushort)(hotbarSlot + charaWork.commandBorder - 1);
|
||||||
uint commandId = charaWork.command[trueHotbarSlot];
|
uint commandId = charaWork.command[trueHotbarSlot];
|
||||||
Database.UnequipAbility(this, hotbarSlot);
|
Database.UnequipAbility(this, hotbarSlot);
|
||||||
charaWork.command[trueHotbarSlot] = 0;
|
charaWork.command[trueHotbarSlot] = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue