diff options
author | Mattes D <github@xoft.cz> | 2014-05-16 20:43:16 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-16 20:43:16 +0200 |
commit | b23baa6f3a68a84369ac0c89acb458a6b8ab55a2 (patch) | |
tree | 6c330bd13ef6957737272499f3bda8ac7bb8b825 /src | |
parent | Merge pull request #994 from Howaner/GlobalFixes (diff) | |
parent | Fixed anvil exp removing (diff) | |
download | cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.tar cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.tar.gz cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.tar.bz2 cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.tar.lz cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.tar.xz cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.tar.zst cuberite-b23baa6f3a68a84369ac0c89acb458a6b8ab55a2.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/UI/SlotArea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp index 788974f9c..8833a767a 100644 --- a/src/UI/SlotArea.cpp +++ b/src/UI/SlotArea.cpp @@ -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()); |