From dff21c7e75d277c1677c84cd1fd796f98cf72bda Mon Sep 17 00:00:00 2001 From: Nameless <85962933+Misfiy@users.noreply.github.com> Date: Fri, 2 Aug 2024 22:10:30 +0200 Subject: [PATCH] Make changes --- EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs | 2 +- EXILED/Exiled.API/Features/Hazards/SinkholeHazard.cs | 2 +- EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs b/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs index c15098e96..31c9ad244 100644 --- a/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs @@ -47,7 +47,7 @@ public static Scp939AmnesticCloudInstance AmnesticCloudPrefab public new Scp939AmnesticCloudInstance Base { get; } /// - public override HazardType Type { get; } = HazardType.AmnesticCloud; + public override HazardType Type => HazardType.AmnesticCloud; /// /// Gets the for this instance. diff --git a/EXILED/Exiled.API/Features/Hazards/SinkholeHazard.cs b/EXILED/Exiled.API/Features/Hazards/SinkholeHazard.cs index 0033ef231..34cbaacd5 100644 --- a/EXILED/Exiled.API/Features/Hazards/SinkholeHazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/SinkholeHazard.cs @@ -31,6 +31,6 @@ public SinkholeHazard(SinkholeEnvironmentalHazard hazard) public new SinkholeEnvironmentalHazard Base { get; } /// - public override HazardType Type { get; } = HazardType.Sinkhole; + public override HazardType Type => HazardType.Sinkhole; } } \ No newline at end of file diff --git a/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs b/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs index 56bd73a1c..3d9d81cb3 100644 --- a/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs @@ -50,7 +50,7 @@ public static TantrumEnvironmentalHazard TantrumPrefab public new TantrumEnvironmentalHazard Base { get; } /// - public override HazardType Type { get; } = HazardType.Tantrum; + public override HazardType Type => HazardType.Tantrum; /// /// Gets or sets a value indicating whether or not sizzle should be played.