mirror of
https://github.com/plexusorg/Plex.git
synced 2024-11-14 15:53:33 +00:00
24 lines
619 B
Java
24 lines
619 B
Java
|
package me.totalfreedom.plex.cache;
|
||
|
|
||
|
import com.google.common.collect.Maps;
|
||
|
import me.totalfreedom.plex.player.PlexPlayer;
|
||
|
import me.totalfreedom.plex.player.PunishedPlayer;
|
||
|
|
||
|
import java.util.Map;
|
||
|
import java.util.UUID;
|
||
|
|
||
|
public class PlayerCache
|
||
|
{
|
||
|
|
||
|
private static Map<UUID, PlexPlayer> plexPlayerMap = Maps.newHashMap();
|
||
|
private static Map<UUID, PunishedPlayer> punishedPlayerMap = Maps.newHashMap();
|
||
|
|
||
|
public static Map<UUID, PunishedPlayer> getPunishedPlayerMap() {
|
||
|
return punishedPlayerMap;
|
||
|
}
|
||
|
|
||
|
public static Map<UUID, PlexPlayer> getPlexPlayerMap() {
|
||
|
return plexPlayerMap;
|
||
|
}
|
||
|
}
|