summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-11-03 16:01:17 +0100
committersnowleo <schneeleo@gmail.com>2012-11-03 16:01:17 +0100
commit3983381fcd2bfcf7f687d321d0108b3acd82625f (patch)
tree294c0fb6a3f4e591c61b6ac64377b23b999f55a5
parent319a3e4deff05d04a544109dbd8755d43dc7abad (diff)
downloadEssentials-3983381fcd2bfcf7f687d321d0108b3acd82625f.tar
Essentials-3983381fcd2bfcf7f687d321d0108b3acd82625f.tar.gz
Essentials-3983381fcd2bfcf7f687d321d0108b3acd82625f.tar.lz
Essentials-3983381fcd2bfcf7f687d321d0108b3acd82625f.tar.xz
Essentials-3983381fcd2bfcf7f687d321d0108b3acd82625f.zip
Fix build
-rw-r--r--Essentials2Compat/src/com/earth2me/essentials/UpdateSettings.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/Essentials2Compat/src/com/earth2me/essentials/UpdateSettings.java b/Essentials2Compat/src/com/earth2me/essentials/UpdateSettings.java
index b269f2711..4b6aa632e 100644
--- a/Essentials2Compat/src/com/earth2me/essentials/UpdateSettings.java
+++ b/Essentials2Compat/src/com/earth2me/essentials/UpdateSettings.java
@@ -34,8 +34,9 @@ public class UpdateSettings
data.getCommands().getSpawnmob().setLimit(settings.getSpawnMobLimit());
data.getCommands().getSpeed().setMaxFlySpeed(settings.getMaxFlySpeed());
data.getCommands().getSpeed().setMaxWalkSpeed(settings.getMaxWalkSpeed());
- data.getCommands().getTpa().setCancelTpRequestsOnWorldChange(false); //TODO
- data.getCommands().getTpa().setTimeout(0); //TODO
+ data.getCommands().getTeleport().setCancelRequestsOnWorldChange(false); //TODO
+ data.getCommands().getTeleport().setRequestTimeout(0); //TODO
+ data.getCommands().getTeleport().setInvulnerability(settings.getTeleportInvulnerability());
data.getEconomy().setCurrencySymbol(settings.getCurrencySymbol());
data.getEconomy().setLogEnabled(settings.isEcoLogEnabled());
data.getEconomy().setMaxMoney(settings.getMaxMoney());
@@ -55,7 +56,6 @@ public class UpdateSettings
data.getGeneral().setLoginAttackDelay(settings.getLoginAttackDelay());
data.getGeneral().setMetricsEnabled(settings.isMetricsEnabled());
data.getGeneral().setOversizedStacksize(settings.getOversizedStackSize());
- data.getGeneral().setTeleportInvulnerability(settings.getTeleportInvulnerability());
data.getGeneral().setWorldHomePermissions(settings.isWorldHomePermissions());
data.getGeneral().setWorldTeleportPermissions(settings.isWorldTeleportPermissions());
data.getWorldOptions(null); //TODO