Merge pull request #1002 from tonibm19/patch-1
Fixed anvil exp removing
This commit is contained in:
commit
b23baa6f3a
@ -760,7 +760,7 @@ void cSlotAreaAnvil::OnTakeResult(cPlayer & a_Player)
|
||||
{
|
||||
if (!a_Player.IsGameModeCreative())
|
||||
{
|
||||
a_Player.DeltaExperience(cPlayer::XpForLevel(m_MaximumCost));
|
||||
a_Player.DeltaExperience(-cPlayer::XpForLevel(m_MaximumCost));
|
||||
}
|
||||
SetSlot(0, a_Player, cItem());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user