From 4f376492a8bf8a8c6a1fe42344e03d8cb1d89f2b Mon Sep 17 00:00:00 2001 From: j502647092 Date: Wed, 12 Aug 2015 20:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0=E9=80=81=E5=BB=B6?= =?UTF-8?q?=E6=97=B6...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: j502647092 --- .../handler/teleport/TeleportControl.java | 2 +- src/config.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java b/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java index a0c249d..d0120f4 100644 --- a/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java +++ b/src/cn/citycraft/SimpleEssential/handler/teleport/TeleportControl.java @@ -23,7 +23,7 @@ public class TeleportControl { protected HashMap teleportList = new HashMap(); protected HashMap lastlocList = new HashMap(); private SimpleEssential plugin; - private int TpDelay = Config.getInstance().getInt("tpdelay", 3); + private int TpDelay = Config.getInstance().getInt("Teleport.delay", 3); public TeleportControl(SimpleEssential plugin) { this.plugin = plugin; diff --git a/src/config.yml b/src/config.yml index 08799c5..a712d86 100644 --- a/src/config.yml +++ b/src/config.yml @@ -4,6 +4,18 @@ version: 1.0 servername: '' #插件名称 pluginname: '&6[&b保护系统&6]&r' + +#基础传送系统 +Teleport: + #所有传送延时 + delay: 3 + + + + + + + #登陆提示 Tip: #是否开启