9
0
mirror of https://github.com/Xiao-MoMi/Custom-Nameplates.git synced 2025-12-19 15:09:23 +00:00
This commit is contained in:
XiaoMoMi
2025-01-29 14:59:41 +08:00
parent a95ea99a55
commit 1bc4ab6258
2 changed files with 6 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ public abstract class AbstractCNPlayer implements CNPlayer {
private final Map<CNPlayer, Tracker> trackers = new WeakHashMap<>();
private final ReadWriteLock trackerLock = new ReentrantReadWriteLock();
private final List<String> otherActionBarFeatures = new ArrayList<>();
private final Vector<String> otherActionBarFeatures = new Vector<>();
/**
* Creates a player instance

View File

@@ -34,6 +34,11 @@ import java.util.UUID;
* CustomNameplatesAPI
*/
public record CustomNameplatesAPI(CustomNameplates plugin) {
public CustomNameplatesAPI(CustomNameplates plugin) {
this.plugin = plugin;
instance = this;
}
private static CustomNameplatesAPI instance;
/**