[trunk] Fixes failed back after tjail

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1137 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-04-06 00:50:16 +00:00
parent 1b3386336a
commit fc2c9d71bb

View File

@ -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();
}
}
}