open #16
This commit is contained in:
@@ -64,8 +64,6 @@ namespace ReallifeGamemode.Server.Util
|
||||
/// <param name="animationName">Name of requested animation</param>
|
||||
public static bool HasAnimation(this Player player, dynamic animationName)
|
||||
{
|
||||
string data = player.GetData<string>("Animation");
|
||||
bool x = player.GetData<string>("Animation") == animationName;
|
||||
return player.HasData("Animation") && (player.GetData<string>("Animation") == animationName);
|
||||
}
|
||||
|
||||
@@ -74,7 +72,6 @@ namespace ReallifeGamemode.Server.Util
|
||||
if (!player.HasData("Animation"))
|
||||
return;
|
||||
|
||||
player.ClearAttachments();
|
||||
player.ResetData("Animation");
|
||||
player.ResetSharedData("AnimationData");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user