first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using NitroxModel.Packets;
|
||||
using NitroxServer.Communication.Packets.Processors.Abstract;
|
||||
|
||||
namespace NitroxServer.Communication.Packets.Processors;
|
||||
|
||||
public class PinnedRecipeMovedProcessor : AuthenticatedPacketProcessor<PinnedRecipeMoved>
|
||||
{
|
||||
public override void Process(PinnedRecipeMoved packet, Player player)
|
||||
{
|
||||
player.PinnedRecipePreferences.Clear();
|
||||
player.PinnedRecipePreferences.AddRange(packet.RecipePins);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user