From 26ddf7b20fff2220ef2fc8dfedd4f0e0b31e4933 Mon Sep 17 00:00:00 2001 From: "michael.reiswich" Date: Thu, 18 Mar 2021 19:23:59 +0100 Subject: [PATCH] test4 --- ReallifeGamemode.Client/dlcpacks/polamggtr/dlc.rpf | 3 +++ ReallifeGamemode.Server/Util/AttachmentSync.cs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 ReallifeGamemode.Client/dlcpacks/polamggtr/dlc.rpf diff --git a/ReallifeGamemode.Client/dlcpacks/polamggtr/dlc.rpf b/ReallifeGamemode.Client/dlcpacks/polamggtr/dlc.rpf new file mode 100644 index 00000000..1a8b5f37 --- /dev/null +++ b/ReallifeGamemode.Client/dlcpacks/polamggtr/dlc.rpf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3575f5198d619cca7788b5e40866ec0dd2313d79b3628c4b169e993e5232759 +size 41567232 diff --git a/ReallifeGamemode.Server/Util/AttachmentSync.cs b/ReallifeGamemode.Server/Util/AttachmentSync.cs index 9e8173bb..40ae8e55 100644 --- a/ReallifeGamemode.Server/Util/AttachmentSync.cs +++ b/ReallifeGamemode.Server/Util/AttachmentSync.cs @@ -12,7 +12,7 @@ public static class AttachmentSync /// The entity to attach the object to /// The attachment, should be in string or long type /// Pass true to remove the specified attachment, false otherwise. - /* + public static void AddAttachment(this Entity entity, dynamic attachment, bool remove) { if (!entity.HasData("Attachments")) @@ -152,6 +152,6 @@ public class AttachmentSyncExample : Script veh.ClearAttachments(); } } - */ + }