Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/[mythic]/mythic-vehicles/server/callbacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function RegisterCallbacks()
local property = Properties:Get(storageId)
local maxParking = Properties:GetMaxParkingSpaces(storageId)

if property and maxParking and maxParking > 0 then
if property and property.id and Properties.Keys:Has(property.id, character:GetData("ID")) and maxParking and maxParking > 0 then
local characterId = character:GetData('SID')
Vehicles.Owned:GetAll(0, false, false, function(vehicles)
local c = {}
Expand Down