From 630f0be9ad3d191eee7e4d00b1a08c23a0362aa8 Mon Sep 17 00:00:00 2001 From: Dankrushen Date: Wed, 23 May 2018 16:34:45 -0400 Subject: [PATCH] Bump version and added "IsHandcuffed" to Player --- Smod2/Smod2/API/Player.cs | 1 + Smod2/Smod2/PluginManager.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Smod2/Smod2/API/Player.cs b/Smod2/Smod2/API/Player.cs index f31ee6ae..7cbb44b5 100644 --- a/Smod2/Smod2/API/Player.cs +++ b/Smod2/Smod2/API/Player.cs @@ -51,6 +51,7 @@ public abstract class Player public abstract void Ban(int duration); public abstract void GiveItem(ItemType type); public abstract List GetInventory(); + public abstract bool IsHandcuffed(); public abstract void ChangeClass(Classes newClass, bool full = true, bool force = false); public abstract object GetGameObject(); } diff --git a/Smod2/Smod2/PluginManager.cs b/Smod2/Smod2/PluginManager.cs index 56344839..3adf6f9d 100644 --- a/Smod2/Smod2/PluginManager.cs +++ b/Smod2/Smod2/PluginManager.cs @@ -12,7 +12,7 @@ namespace Smod2 { public class PluginManager { - public static readonly string SMOD_API_VERSION = "2.1.0"; + public static readonly string SMOD_API_VERSION = "2.1.1"; private Dictionary plugins; private ICommandManager commandManager;