mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-19 15:09:23 +00:00
fix
This commit is contained in:
@@ -79,7 +79,7 @@ public abstract class AbstractCNPlayer implements CNPlayer {
|
|||||||
|
|
||||||
private final Map<CNPlayer, Tracker> trackers = new WeakHashMap<>();
|
private final Map<CNPlayer, Tracker> trackers = new WeakHashMap<>();
|
||||||
private final ReadWriteLock trackerLock = new ReentrantReadWriteLock();
|
private final ReadWriteLock trackerLock = new ReentrantReadWriteLock();
|
||||||
private final List<String> otherActionBarFeatures = new ArrayList<>();
|
private final Vector<String> otherActionBarFeatures = new Vector<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a player instance
|
* Creates a player instance
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ import java.util.UUID;
|
|||||||
* CustomNameplatesAPI
|
* CustomNameplatesAPI
|
||||||
*/
|
*/
|
||||||
public record CustomNameplatesAPI(CustomNameplates plugin) {
|
public record CustomNameplatesAPI(CustomNameplates plugin) {
|
||||||
|
public CustomNameplatesAPI(CustomNameplates plugin) {
|
||||||
|
this.plugin = plugin;
|
||||||
|
instance = this;
|
||||||
|
}
|
||||||
|
|
||||||
private static CustomNameplatesAPI instance;
|
private static CustomNameplatesAPI instance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user