Fixed infinite minecart items
This commit is contained in:
parent
aee1f8f9d1
commit
79aa082b04
@ -72,6 +72,9 @@ public:
|
||||
}
|
||||
} // switch (m_ItemType)
|
||||
Minecart->Initialize(a_World);
|
||||
|
||||
if (!a_Player->IsGameModeCreative())
|
||||
a_Player->GetInventory().RemoveOneEquippedItem();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user