Fix object
This commit is contained in:
parent
d83fc2dc2b
commit
c3d2d0bd4b
@ -57,10 +57,10 @@ namespace GasolineTanker
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (entity is EntityImprovedGasolineTanker entityImprovedGasolineTanker &&
|
if (entity is EntityImprovedGasolineTanker entityImprovedGasolineTanker &&
|
||||||
otherEntity is EntityImprovedGasolineTanker otherEntityWarmlyShip && (
|
otherEntity is EntityImprovedGasolineTanker otherEntityWarmlyGasolineTanker && (
|
||||||
entityImprovedGasolineTanker.BodyColor != otherEntityWarmlyShip.BodyColor ||
|
entityImprovedGasolineTanker.BodyColor != otherEntityWarmlyGasolineTanker.BodyColor ||
|
||||||
entityImprovedGasolineTanker.DopColor != otherEntityWarmlyShip.DopColor ||
|
entityImprovedGasolineTanker.DopColor != otherEntityWarmlyGasolineTanker.DopColor ||
|
||||||
entityImprovedGasolineTanker.BodyKit != otherEntityWarmlyShip.BodyKit))
|
entityImprovedGasolineTanker.BodyKit != otherEntityWarmlyGasolineTanker.BodyKit))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user