[ci skip] Fix annotation fields used in NMS getBukkitEntity (#12120)

This commit is contained in:
Pedro
2025-02-16 15:17:26 -03:00
committed by GitHub
parent a6e82d90ce
commit cb25c0cf31
3 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
private int value;
private int max = 100;
+ // CraftBukkit start
+ private org.bukkit.boss.KeyedBossBar bossBar;
+ private @javax.annotation.Nullable org.bukkit.boss.KeyedBossBar bossBar;
+
+ public org.bukkit.boss.KeyedBossBar getBukkitEntity() {
+ if (this.bossBar == null) {