From 4732acc1c4f2e8a21c33ed8a677017473f907554 Mon Sep 17 00:00:00 2001 From: RainWarrior Date: Mon, 4 Jan 2016 15:18:36 +0300 Subject: [PATCH] Java6 + Eclipse + Gradle strike again. --- src/main/java/net/minecraftforge/client/model/ModelFluid.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minecraftforge/client/model/ModelFluid.java b/src/main/java/net/minecraftforge/client/model/ModelFluid.java index a76bb89ee..017781807 100644 --- a/src/main/java/net/minecraftforge/client/model/ModelFluid.java +++ b/src/main/java/net/minecraftforge/client/model/ModelFluid.java @@ -67,7 +67,7 @@ public class ModelFluid implements IModelCustomData public IFlexibleBakedModel bake(IModelState state, VertexFormat format, Function bakedTextureGetter) { ImmutableMap map = IPerspectiveAwareModel.MapWrapper.getTransforms(state); - return new BakedFluid(state.apply(Optional.absent()), map, format, fluid.getColor(), bakedTextureGetter.apply(fluid.getStill()), bakedTextureGetter.apply(fluid.getFlowing()), fluid.isGaseous(), Optional.absent()); + return new BakedFluid(state.apply(Optional.absent()), map, format, fluid.getColor(), bakedTextureGetter.apply(fluid.getStill()), bakedTextureGetter.apply(fluid.getFlowing()), fluid.isGaseous(), Optional.absent()); } public IModelState getDefaultState() @@ -133,7 +133,7 @@ public class ModelFluid implements IModelCustomData public BakedFluid(Optional transformation, VertexFormat format, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, boolean gas, Optional stateOption) { - this(transformation, ImmutableMap.of(), format, color, still, flowing, gas, stateOption); + this(transformation, ImmutableMap.of(), format, color, still, flowing, gas, stateOption); } public BakedFluid(Optional transformation, ImmutableMap transforms, VertexFormat format, int color, TextureAtlasSprite still, TextureAtlasSprite flowing, boolean gas, Optional stateOption)