Skip to content

Commit

Permalink
Updated the test punisher
Browse files Browse the repository at this point in the history
  • Loading branch information
Tecnio committed Sep 13, 2023
1 parent de929ad commit cfdbe84
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

import me.tecnio.ahm.alert.punish.PunishmentHandler;
import me.tecnio.ahm.check.Check;
import org.bukkit.Bukkit;

public class TestingPunishmentHandler implements PunishmentHandler {

@Override
public void punish(final Check check) {
Bukkit.broadcastMessage("You would have been punished for " + check.getName() + " " + check.getType() + ".");
check.getData().getPlayer().sendMessage(
"You would have been punished for " + check.getName() + " " + check.getType() + "."
);
}
}

0 comments on commit cfdbe84

Please sign in to comment.