From f8ec9b9f6eace124ba0ae3b35027f6ec3f680adb Mon Sep 17 00:00:00 2001 From: coding Date: Wed, 16 May 2018 16:30:05 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9EHook=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/modules/papi.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/modules/papi.js b/src/main/resources/modules/papi.js index 9b08123..4593399 100644 --- a/src/main/resources/modules/papi.js +++ b/src/main/resources/modules/papi.js @@ -15,6 +15,7 @@ PlaceholderAPI = { // 尝试加载 Bukkit 的 PlaceholderAPI try { PlaceholderAPI = ext.getStatic("me.clip.placeholderapi.PlaceholderAPI"); + console.log('[PAPI] Found Bukkit PlaceholderAPI Hooking...') } catch (ex) { } @@ -29,6 +30,7 @@ try { return s.serialize(spapi.replacePlaceholders(arguments[1], arguments[0], arguments[0])); } } + console.log('[PAPI] Found Sponge PlaceholderAPI Hooking...') } } catch (ex) { }