summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-04-14 04:13:37 +0100
committerKHobbits <rob@khobbits.co.uk>2012-04-14 04:13:37 +0100
commit8b9ff2c58a14b9fdaaf03941f3fcaefe8313c38d (patch)
tree2d50a11fea32bab0ef10d31e79ca16079e9eed37
parent90d2451ce27f09a4c8da43a0b558782f42f8fc5b (diff)
downloadEssentials-8b9ff2c58a14b9fdaaf03941f3fcaefe8313c38d.tar
Essentials-8b9ff2c58a14b9fdaaf03941f3fcaefe8313c38d.tar.gz
Essentials-8b9ff2c58a14b9fdaaf03941f3fcaefe8313c38d.tar.lz
Essentials-8b9ff2c58a14b9fdaaf03941f3fcaefe8313c38d.tar.xz
Essentials-8b9ff2c58a14b9fdaaf03941f3fcaefe8313c38d.zip
Try to speed up teleport events.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index 7ee6a7057..c4b19601f 100644
--- a/Essentials/src/com/earth2me/essentials/Settings.java
+++ b/Essentials/src/com/earth2me/essentials/Settings.java
@@ -384,6 +384,7 @@ public class Settings implements ISettings
enabledSigns = _getEnabledSigns();
teleportInvulnerability = _isTeleportInvulnerability();
disableItemPickupWhileAfk = _getDisableItemPickupWhileAfk();
+ registerBackInListener = _registerBackInListener();
itemSpawnBl = _getItemSpawnBlacklist();
kits = _getKits();
chatFormats.clear();
@@ -691,11 +692,19 @@ public class Settings implements ISettings
return config.getBoolean("world-teleport-permissions", false);
}
+ private boolean registerBackInListener;
+
@Override
public boolean registerBackInListener()
{
+ return registerBackInListener;
+ }
+
+ private boolean _registerBackInListener()
+ {
return config.getBoolean("register-back-in-listener", false);
}
+
private boolean disableItemPickupWhileAfk;
@Override