summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-12 21:28:34 +0200
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-12 21:28:34 +0200
commit5f6c7409c10cb05be9cdb8a09d3689dcf4c13524 (patch)
tree4e33cd3d6cceebfc9ace05c3f4bbf67a43ae194c /source
parentMissed a file (diff)
downloadcuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.tar
cuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.tar.gz
cuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.tar.bz2
cuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.tar.lz
cuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.tar.xz
cuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.tar.zst
cuberite-5f6c7409c10cb05be9cdb8a09d3689dcf4c13524.zip
Diffstat (limited to 'source')
-rw-r--r--source/cPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp
index a7159b2cf..ecf6cb145 100644
--- a/source/cPlayer.cpp
+++ b/source/cPlayer.cpp
@@ -515,7 +515,7 @@ void cPlayer::SetGameMode( eGameMode a_GameMode )
m_ClientHandle->Send ( GameModePacket );
GetInventory().SendWholeInventory(m_ClientHandle);
- OldInventory->SetEquippedSlot(GetInventory().GetEquippedSlot());
+ GetInventory().SetEquippedSlot(OldInventory->GetEquippedSlot());
}
}
}