public void run(int playerId) {
if (!death) {
MinimapConfig.getInstance().addServerWaypoint(x, y, z, name);
} else {
Waypoint point = new Waypoint("Death " + new SimpleDateFormat("dd-MM-yyyy").format(new Date()), (int)x, (int)y, (int)z, true);
point.deathpoint = true;
MinimapConfig.getInstance().addWaypoint(point);
}
}