diff options
author | tonibm19 <tonibm19@gmail.com> | 2014-05-16 19:33:57 +0200 |
---|---|---|
committer | tonibm19 <tonibm19@gmail.com> | 2014-05-16 19:33:57 +0200 |
commit | 5724dcc2c199a5d7aec1bf60a160106770a2a63a (patch) | |
tree | 6c330bd13ef6957737272499f3bda8ac7bb8b825 | |
parent | Merge pull request #994 from Howaner/GlobalFixes (diff) | |
download | cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.tar cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.tar.gz cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.tar.bz2 cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.tar.lz cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.tar.xz cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.tar.zst cuberite-5724dcc2c199a5d7aec1bf60a160106770a2a63a.zip |
Diffstat (limited to '')
-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()); |