mirror of
https://github.com/YouHaveTrouble/NotJustNameplates.git
synced 2026-05-12 06:26:58 +00:00
check the permissions every 20 ticks and swap display content accordingly
This commit is contained in:
@@ -13,7 +13,9 @@ import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.player.*;
|
||||
import org.purpurmc.purpur.event.entity.EntityTeleportHinderedEvent;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
public class NameplateManager implements Listener {
|
||||
@@ -99,4 +101,8 @@ public class NameplateManager implements Listener {
|
||||
|
||||
}
|
||||
|
||||
public Map<UUID, Nameplate> getNameplates() {
|
||||
return Collections.unmodifiableMap(nameplates);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user