Fixed bug where creative inventory didn't work.
This commit is contained in:
parent
111fb24d3a
commit
0384c54676
@ -469,7 +469,7 @@ bool cClientHandle::HandleLogin(int a_ProtocolVersion, const AString & a_Usernam
|
||||
void cClientHandle::HandleCreativeInventory(short a_SlotNum, const cItem & a_HeldItem)
|
||||
{
|
||||
// This is for creative Inventory changes
|
||||
if (m_Player->IsGameModeCreative())
|
||||
if (!m_Player->IsGameModeCreative())
|
||||
{
|
||||
LOGWARNING("Got a CreativeInventoryAction packet from user \"%s\" while not in creative mode. Ignoring.", m_Username.c_str());
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user