mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Fix FindFirstCommandSlotById to be able to find empty slots again
This commit is contained in:
parent
2b5a6997f4
commit
50b4f517f2
@ -1932,7 +1932,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
//If the returned value is outside the hotbar, it indicates it wasn't found.
|
||||
private ushort FindFirstCommandSlotById(uint commandId)
|
||||
{
|
||||
if(commandId != 0)
|
||||
commandId |= 0xA0F00000;
|
||||
|
||||
ushort firstSlot = (ushort)(charaWork.commandBorder + 30);
|
||||
|
||||
for (ushort i = charaWork.commandBorder; i < charaWork.commandBorder + 30; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user