mirror of
https://github.com/SimplexDevelopment/Traverse.git
synced 2025-07-04 08:26:42 +00:00
Code push
This commit is contained in:
22
src/main/java/mc/unraveled/reforged/banning/SimpleBan.java
Normal file
22
src/main/java/mc/unraveled/reforged/banning/SimpleBan.java
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user