All checks were successful
Build PlotSquared / Build-latest-jar (push) Successful in 2m39s
21 lines
525 B
Java
21 lines
525 B
Java
package cinematicview.cinematicview.PlayerManager;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.UUID;
|
|
|
|
public class PlayerManager {
|
|
private HashMap<UUID, CustomPlayer> customPlayers = new HashMap();
|
|
|
|
public CustomPlayer getCustomPlayer(UUID uuid) {
|
|
return (CustomPlayer)this.customPlayers.get(uuid);
|
|
}
|
|
|
|
public void addCustomPlayer(UUID uuid, CustomPlayer player) {
|
|
this.customPlayers.put(uuid, player);
|
|
}
|
|
|
|
public void removeCustomPlayer(UUID uuid) {
|
|
this.customPlayers.remove(uuid);
|
|
}
|
|
}
|