Fix Forge bucket not declaring all texture dependencies (#4930)

This commit is contained in:
Ben Staddon authored and mezz committed 2018-05-19 21:25:08 -07:00
1 parent 189df85b5a
commit 0139a7baf2
1 file changed
+3
@@ -104,12 +104,15 @@ public final class ModelDynBucket implements IModel
public Collection<ResourceLocation> getTextures()
{
ImmutableSet.Builder<ResourceLocation> builder = ImmutableSet.builder();
if (baseLocation != null)
builder.add(baseLocation);
if (liquidLocation != null)
builder.add(liquidLocation);
if (coverLocation != null)
builder.add(coverLocation);
if (fluid != null)
builder.add(fluid.getStill());
return builder.build();
}