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