mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-31 12:46:31 +00:00
2.1.7
This commit is contained in:
@@ -37,6 +37,7 @@ public final class CustomNameplates extends JavaPlugin {
|
||||
public static CustomNameplates plugin;
|
||||
public static BukkitAudiences adventure;
|
||||
public static ProtocolManager protocolManager;
|
||||
public static String version;
|
||||
|
||||
private ResourceManager resourceManager;
|
||||
private BossBarManager bossBarManager;
|
||||
@@ -62,6 +63,7 @@ public final class CustomNameplates extends JavaPlugin {
|
||||
public void onEnable() {
|
||||
adventure = BukkitAudiences.create(this);
|
||||
protocolManager = ProtocolLibrary.getProtocolManager();
|
||||
version = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
|
||||
|
||||
//Don't delete this
|
||||
PacketContainer packet = new PacketContainer(PacketType.Play.Server.SCOREBOARD_TEAM);
|
||||
|
||||
Reference in New Issue
Block a user