From 5ae9d004db276a631aa82539e84ea476f567366b Mon Sep 17 00:00:00 2001 From: jenz Date: Wed, 30 Aug 2023 20:02:36 +0200 Subject: [PATCH] fix basic.inc by removing methods already in methodmap by now --- entWatch4/scripting/entWatch-core.sp | 1 - includes/basic.inc | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/entWatch4/scripting/entWatch-core.sp b/entWatch4/scripting/entWatch-core.sp index 3f14e41..b4602ec 100644 --- a/entWatch4/scripting/entWatch-core.sp +++ b/entWatch4/scripting/entWatch-core.sp @@ -783,6 +783,5 @@ public int Native_ClientHasItem(Handle hPlugin, int numParams) return 1; } } - return 0; } diff --git a/includes/basic.inc b/includes/basic.inc index d05f7d7..11a4a18 100644 --- a/includes/basic.inc +++ b/includes/basic.inc @@ -85,16 +85,6 @@ methodmap Basic < StringMap this.SetValue(membername, value); } - public bool GetString(const char[] membername, char[] buffer, int length) - { - return this.GetString(membername, buffer, length); - } - - public void SetString(const char[] membername, const char[] value) - { - this.SetString(membername, value); - } - public Handle GetHandle(const char[] membername) { Handle value;