refactor(Scripts/Commands): convert cs_misc to new system (#8939)

This commit is contained in:
IntelligentQuantum
2021-12-21 16:02:21 +03:30
committed by GitHub
parent 7617ae4645
commit 838c88f45a
15 changed files with 2208 additions and 1737 deletions

View File

@@ -140,7 +140,8 @@ public:
return false;
}
do {
do
{
Field* fields = disposedItems->Fetch();
uint32 id = fields[0].GetUInt32();
uint32 itemId = fields[1].GetUInt32();
@@ -161,7 +162,6 @@ public:
// TODO - move item to other slot
static bool HandleItemMoveCommand(ChatHandler* handler, uint8 srcSlot, uint8 dstSlot)
{
if (srcSlot == dstSlot)
return true;