auto verkaufen fixen

This commit is contained in:
hydrant
2020-08-02 18:25:23 +02:00
parent 9860d39992
commit 6032546ee1
3 changed files with 10 additions and 2 deletions

View File

@@ -37,6 +37,10 @@ game.events.onPlayerExitVehicle(() => {
});
game.events.onEntityStreamIn((entity: IEntity) => {
if (!entity) {
return;
}
if (entity && entity.type === EntityType.Vehicle) {
var data: VehicleData = entity.getSharedData("VehicleData");