From 3917fbff3f0eae7db1196326b38e6149caac5c99 Mon Sep 17 00:00:00 2001 From: Xsear Date: Sat, 2 Mar 2024 15:20:18 +0100 Subject: [PATCH] Update AeroMessages --- Lib/AeroMessages | 2 +- .../Systems/Admin/Commands/CreateItemServerCommand.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/AeroMessages b/Lib/AeroMessages index 8a6421fb..c43ae9ee 160000 --- a/Lib/AeroMessages +++ b/Lib/AeroMessages @@ -1 +1 @@ -Subproject commit 8a6421fbbdc187339a45ac73a7c96bb106bd8a2e +Subproject commit c43ae9ee86d06a94b8175b25d9367bdd4fad9227 diff --git a/UdpHosts/GameServer/Systems/Admin/Commands/CreateItemServerCommand.cs b/UdpHosts/GameServer/Systems/Admin/Commands/CreateItemServerCommand.cs index f258499a..cbd14de5 100644 --- a/UdpHosts/GameServer/Systems/Admin/Commands/CreateItemServerCommand.cs +++ b/UdpHosts/GameServer/Systems/Admin/Commands/CreateItemServerCommand.cs @@ -50,10 +50,10 @@ public override void Execute(string[] parameters, ServerCommandContext context) { Item = new() { - LootSdbID = typeId, - Unk1 = (ushort)quantity, + SdbId = typeId, + Quantity = (ushort)quantity, }, - Unk1 = 1, + RewardType = 1, }; context.SourcePlayer.NetChannels[ChannelType.ReliableGss] .SendIAero(msg, context.SourcePlayer.CharacterEntity.EntityId);