Code push

This commit is contained in:
Paldiu
2023-01-26 10:11:37 -06:00
parent cc6eef4a3e
commit b730f329fe
35 changed files with 1435 additions and 0 deletions

View File

@ -0,0 +1,22 @@
package mc.unraveled.reforged.banning;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.Date;
public class SimpleBan extends AbstractBan {
public SimpleBan(Player player, CommandSender source, String reason, Date propogated, Date expiry, boolean active) {
super(player.getUniqueId().toString(),
player.getAddress().getAddress().getHostAddress(),
source.getName(),
reason,
propogated.getTime(),
expiry.getTime(),
active);
}
public SimpleBan(String uuid, String ip, String source, String reason, long propogated, long expiry, boolean active) {
super(uuid, ip, source, reason, propogated, expiry, active);
}
}