mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-08 14:48:47 -04:00
Make Tablist.Update public
This commit is contained in:
parent
ab7355547b
commit
b3bbf32ded
@ -74,7 +74,7 @@ namespace MCGalaxy
|
|||||||
|
|
||||||
/// <summary> Updates the tab list entry for this player to all other players
|
/// <summary> Updates the tab list entry for this player to all other players
|
||||||
/// (whose clients support it) who can see the player in the tab list. </summary>
|
/// (whose clients support it) who can see the player in the tab list. </summary>
|
||||||
internal static void Update(Player p, bool self) {
|
public static void Update(Player p, bool self) {
|
||||||
Player[] players = PlayerInfo.Online.Items;
|
Player[] players = PlayerInfo.Online.Items;
|
||||||
foreach (Player other in players) {
|
foreach (Player other in players) {
|
||||||
if (p == other) {
|
if (p == other) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user