package com.forgeessentials.tickets;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import com.forgeessentials.commons.selections.WarpPoint;
public class Ticket
{
public int id;
public String creator;
public String category;
public String message;
public WarpPoint point;
public Ticket(ICommandSender sender, String category, String message)
{
id = ModuleTickets.getNextID();
creator = sender.getCommandSenderName();
if (sender instanceof EntityPlayer)
{
point = new WarpPoint((EntityPlayer) sender);
}
this.category = category;
this.message = message;
}
}