Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DropItem = inst.components.inventory.DropItem
- inst.components.inventory.DropItem = function( self, item, wholestack, randomdir, pos )
- if item ~= nil and item:HasTag("bkessentialitem") then
- self:Equip( inst )
- return false
- end
- return DropItem( self, item, wholestack, randomdir, pos)
- end
Advertisement
Add Comment
Please, Sign In to add comment