Skip to content

Commit

Permalink
Александар fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Svinthefirst committed Dec 26, 2024
1 parent 79fd150 commit 073a795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/Bible/BibleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ private void OnAfterInteract(EntityUid uid, BibleComponent component, AfterInter

//Sunrise-start

if (TryPrototype((EntityUid) args.Target, out var prototype)
if (TryPrototype((EntityUid)args.Target, out var prototype)
&& (prototype.ID == "MobPig" || (prototype.Parents != null && prototype.Parents.Contains<string>("MobPig")))

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'

Check failure on line 164 in Content.Server/Bible/BibleSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

'string[]' does not contain a definition for 'Contains' and the best extension method overload 'MemoryExtensions.Contains<string>(ReadOnlySpan<string>, string)' requires a receiver of type 'System.ReadOnlySpan<string>'
&& prototype.ID == "MobPig"
&& !HasComp<SawComponent>(args.Target))
{
Expand Down

0 comments on commit 073a795

Please sign in to comment.