summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-06 00:50:16 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-06 00:50:16 +0000
commitfc2c9d71bb4f2387ece32890a9b23a0713d684eb (patch)
tree6b772073883359278723ef8ef18439f931217c15
parent1b3386336adcc02021e6d59993fc5b79bbb0ff8f (diff)
downloadEssentials-fc2c9d71bb4f2387ece32890a9b23a0713d684eb.tar
Essentials-fc2c9d71bb4f2387ece32890a9b23a0713d684eb.tar.gz
Essentials-fc2c9d71bb4f2387ece32890a9b23a0713d684eb.tar.lz
Essentials-fc2c9d71bb4f2387ece32890a9b23a0713d684eb.tar.xz
Essentials-fc2c9d71bb4f2387ece32890a9b23a0713d684eb.zip
[trunk] Fixes failed back after tjail
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1137 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtogglejail.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtogglejail.java b/Essentials/src/com/earth2me/essentials/commands/Commandtogglejail.java
index f6d399a0d..a4524ca3c 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandtogglejail.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandtogglejail.java
@@ -60,8 +60,8 @@ public class Commandtogglejail extends EssentialsCommand
}
sender.sendMessage("§7Player " + p.getName() + " " + (p.toggleJailed() ? "jailed." : "unjailed."));
p.sendMessage("§7You have been released");
- p.teleportBack();
p.currentJail = "";
+ p.teleportBack();
}
}
}