From 5f6c7409c10cb05be9cdb8a09d3689dcf4c13524 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Thu, 12 Jul 2012 19:28:34 +0000 Subject: fixed bug http://www.mc-server.org/support/index.php?do=details&task_id=212&project=2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@658 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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()); } } } -- cgit v1.2.3