Skip to content

Commit

Permalink
Merge pull request #248 from MuradAkh/fix_247
Browse files Browse the repository at this point in the history
Fixes #247
  • Loading branch information
EDToaster authored Oct 23, 2023
2 parents 5162c8e + 160735b commit 25ada75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static void onRegisterEntityRenderers(EntityRenderersEvent.RegisterRender
.insertModel(CubeInsertCarModel::new, CubeInsertCarModel.LAYER_LOCATION, ShippingMod.entityTexture("car/barrel_insert.png"))
.build());

event.registerEntityRenderer(ModEntityTypes.FLUID_CAR.get(), ctx -> new MultipartCarRenderer.Builder<>(ctx)
event.registerEntityRenderer(ModEntityTypes.FLUID_CAR.get(), ctx -> new FluidTankCarRenderer.Builder<>(ctx)
.baseModel(BaseCarModel::new, BaseCarModel.LAYER_LOCATION, ShippingMod.entityTexture("car/base.png"))
.trimModel(TrimCarModel::new, TrimCarModel.LAYER_LOCATION, ShippingMod.entityTexture("car/trim.png"))
.insertModel(FluidTankInsertCarModel::new, FluidTankInsertCarModel.LAYER_LOCATION, ShippingMod.entityTexture("car/fluid_tank_insert.png"))
Expand Down

0 comments on commit 25ada75

Please sign in to comment.