Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
FPlayer: fix stream replacement when player rejoin
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Aug 16, 2023
1 parent 6b10f68 commit c1a2856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/flectone/misc/entity/FPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public boolean isOnline() {
public void setStreamer() {
if (player == null) return;
this.isStreamer = player.hasPermission("flectonechat.stream");
if (isStreamer) setStreaming(false);
if (isStreamer) setStreaming(isStreaming);
else this.streamPrefix = "";
}

Expand Down

0 comments on commit c1a2856

Please sign in to comment.