Plus Emulator Error

JarnoHSTR

New Member
Jan 19, 2018
8
0
Hi there

I'm trying to put the talentracker from cloud server into my own edited plus emulator
But whenever i try to null something it gives me an error?
Error:
Cannot convert null to 'Talent' because it is a non-nullable value type
\HabboHotel\Achievements\AchievementManager.cs 199
Cannot convert null to 'Talent' because it is a non-nullable value type
\HabboHotel\Achievements\Talents\TalenManager.cs 141

Can somebody help me with this?
 
Talent talent = null;
public bool TryGetTalent(string AchGroup, out Talent talent)
{
foreach (Talent current in Talents.Values)
{
if (current.AchievementGroup == AchGroup)
{
talent = current;
return true;
}
}
talent = null;
return false;
}
 
nevermind i fixed it ! :)
 

Users who are viewing this thread

Top