Skip to content

Commit

Permalink
fix items dropping
Browse files Browse the repository at this point in the history
  • Loading branch information
JustMarfix committed Dec 29, 2024
1 parent 40223a2 commit e3c55d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Handlers/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public static void OnHurting(HurtingEventArgs ev)

public static void OnDying(DyingEventArgs ev)
{
if (!VeryUsualDay.Instance.IsEnabledInRound) return;
if (VeryUsualDay.Instance.CurrentCode == VeryUsualDay.Codes.Green ||
VeryUsualDay.Instance.CurrentCode == VeryUsualDay.Codes.Emerald)
{
Expand Down
2 changes: 1 addition & 1 deletion VeryUsualDay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class VeryUsualDay : Plugin<Config>
public override string Author => "JustMarfix";
public override string Name => "VeryUsualDay (FX Version)";

public override Version Version => new Version(5, 3, 0);
public override Version Version => new Version(5, 3, 1);

public bool IsEnabledInRound { get; set; }
public bool IsLunchtimeActive { get; set; }
Expand Down

0 comments on commit e3c55d7

Please sign in to comment.