mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Added rollback
Attempt 2
This commit is contained in:
parent
5eca69ba9c
commit
af1254584c
@ -42,6 +42,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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user