Skip to content

Commit de8ffba

Browse files
MrHell228Faithcaio
authored andcommitted
Implement adventure BossBarViewer
1 parent 63ace16 commit de8ffba

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/org/spongepowered/api/entity/living/player

1 file changed

+2
-1
lines changed

src/main/java/org/spongepowered/api/entity/living/player/Player.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525
package org.spongepowered.api.entity.living.player;
2626

27+
import net.kyori.adventure.bossbar.BossBarViewer;
2728
import net.kyori.adventure.identity.Identified;
2829
import org.spongepowered.api.block.entity.EnderChest;
2930
import org.spongepowered.api.data.Keys;
@@ -41,7 +42,7 @@
4142
/**
4243
* A Player is the representation of an actual unit playing the game.
4344
*/
44-
public interface Player extends Humanoid, Identified, LocaleSource, Viewer, Carrier, Aerial {
45+
public interface Player extends Humanoid, Identified, LocaleSource, Viewer, BossBarViewer, Carrier, Aerial {
4546

4647
/**
4748
* Gets the associated {@link GameProfile} of this player.

0 commit comments

Comments
 (0)