Skip to content

Commit

Permalink
Disabled godmode for tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Bankokwak authored Oct 25, 2024
1 parent 2593c47 commit 27d93f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BetterBlueCandyHalloween/EventHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class EventHandlers : Plugin<Config>
{
public override string Author => "Bankokwak";
public override string Name => "Better Blue Candy Halloween";
public override Version Version => new Version(1, 0, 0);
public override Version Version => new Version(1, 0, 1);
public override Version RequiredExiledVersion { get; } = new Version(8, 13, 1);
public override void OnEnabled()
{
Expand All @@ -45,6 +45,7 @@ private void OnEat(EatingScp330EventArgs ev)
ev.Player.CurrentItem.Destroy();
ev.Player.DropItems();
ev.Player.Role.Set(RoleTypeId.Tutorial);
ev.Player.IsGodModeEnabled = false;
ev.Player.Position = posPlayer;
ev.Player.Health = healthPlayer;
ev.Player.EnableEffect(EffectType.Marshmallow);
Expand Down

0 comments on commit 27d93f6

Please sign in to comment.