Open dflat2 opened 6 months ago
There seem to be a bug in the Unfollow method, causing unfollowed players to remain invisible from the operator who followed them.
Unfollow
https://github.com/ClassiCube/MCGalaxy/blob/c860f64c0e22d86f1716c57bfd76e91d1617dd68/MCGalaxy/Commands/Moderation/CmdFollow.cs#L51
p.following = ""; Player target = PlayerInfo.FindExact(p.following);
The target player is always null.
target
null
There seem to be a bug in the
Unfollow
method, causing unfollowed players to remain invisible from the operator who followed them.https://github.com/ClassiCube/MCGalaxy/blob/c860f64c0e22d86f1716c57bfd76e91d1617dd68/MCGalaxy/Commands/Moderation/CmdFollow.cs#L51
The
target
player is alwaysnull
.