refactor: unglob std::wstring

This commit is contained in:
Tropical
2026-03-06 11:50:22 -06:00
parent 41db813a6d
commit cdc08700e4
581 changed files with 2156 additions and 2154 deletions

View File

@@ -19,7 +19,7 @@ void GiveItemCommand::execute(std::shared_ptr<CommandSender> source, byteArray c
int item = dis.readInt();
int amount = dis.readInt();
int aux = dis.readInt();
wstring tag = dis.readUTF();
std::wstring tag = dis.readUTF();
bais.reset();
@@ -33,7 +33,7 @@ void GiveItemCommand::execute(std::shared_ptr<CommandSender> source, byteArray c
}
}
std::shared_ptr<GameCommandPacket> GiveItemCommand::preparePacket(std::shared_ptr<Player> player, int item, int amount, int aux, const wstring &tag)
std::shared_ptr<GameCommandPacket> GiveItemCommand::preparePacket(std::shared_ptr<Player> player, int item, int amount, int aux, const std::wstring &tag)
{
if(player == NULL) return nullptr;