Merge pull request #4 from Wild1145/patch-3

Added rollback
This commit is contained in:
Jerom van der Sar 2013-03-21 16:39:40 -07:00
commit 173faf3018

View File

@ -41,6 +41,11 @@ public class Command_gtfo extends TFM_Command
{ {
server.dispatchCommand(sender, String.format("/undo %d %s", 15, p.getName())); server.dispatchCommand(sender, String.format("/undo %d %s", 15, p.getName()));
} }
//rollback
server.dispatchCommand(sender, "rollback " + p.getName() + " all");
// deop // deop
p.setOp(false); p.setOp(false);