Added rollback

Attempt 2
This commit is contained in:
Wild1145 2013-03-21 21:28:14 +00:00
parent 5eca69ba9c
commit af1254584c

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);