1
0

Fixed anvil exp removing

This commit is contained in:
tonibm19 2014-05-16 19:33:57 +02:00
parent 0e43f88668
commit 5724dcc2c1

View File

@ -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());