Fixed anvil exp removing
This commit is contained in:
parent
0e43f88668
commit
5724dcc2c1
@ -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…
Reference in New Issue
Block a user