Updated to .net5.0

This commit is contained in:
hondacrx
2021-01-21 13:44:11 -05:00
parent 099a2fa98f
commit 43b298b830
8 changed files with 10 additions and 11 deletions
+3 -4
View File
@@ -4482,11 +4482,10 @@ namespace Game.Entities
public ObjectGuid GetLootWorldObjectGUID(ObjectGuid lootObjectGuid)
{
var guid = m_AELootView.LookupByKey(lootObjectGuid);
if (guid != null)
return guid;
if (!m_AELootView.ContainsKey(lootObjectGuid))
return ObjectGuid.Empty;
return ObjectGuid.Empty;
return m_AELootView[lootObjectGuid];
}
public void RemoveAELootedObject(ObjectGuid lootObjectGuid)
+1 -1
View File
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<Platforms>x64</Platforms>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>8.0</LangVersion>