Skip to content

Commit

Permalink
Shut the fuck up
Browse files Browse the repository at this point in the history
  • Loading branch information
Spigey committed Apr 13, 2024
1 parent dc32925 commit f3bdc67
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package spigey.asteroide.commands;

import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.commands.Command;
import meteordevelopment.meteorclient.events.world.TickEvent;
Expand All @@ -21,7 +20,6 @@ public FuckServerCommand() {
super("fuckserver", "Fucks the server using command blocks. Only do this if you are completely sure!");
}
private int tick;
private boolean enabled;
@Override
public void build(LiteralArgumentBuilder<CommandSource> builder) {
builder.executes(context -> {
Expand All @@ -36,7 +34,7 @@ public void build(LiteralArgumentBuilder<CommandSource> builder) {
}

@EventHandler
private void onTick(TickEvent.Post event) throws CommandSyntaxException {
private void onTick(TickEvent.Post event) {
if(this.tick > 0){this.tick--; return;} // don't execute when it's not done waiting
if(this.tick == -1){return;} // disable when on -1
assert mc.player != null;
Expand Down

0 comments on commit f3bdc67

Please sign in to comment.