24 lines
499 B
Java
24 lines
499 B
Java
package eu.univento.commons.player.profiles;
|
|
|
|
import com.mongodb.client.MongoCollection;
|
|
import eu.univento.commons.player.DatabasePlayer;
|
|
import org.bson.Document;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author joethei
|
|
* @version 0.1
|
|
*/
|
|
public class PlayerProfiles {
|
|
|
|
private UUID uuid;
|
|
private final MongoCollection<Document> collection;
|
|
|
|
public PlayerProfiles(DatabasePlayer player) {
|
|
this.uuid = player.getUuid();
|
|
this.collection = player.getProfileCollection();
|
|
}
|
|
|
|
|
|
} |