mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
Fix Forge bucket not declaring all texture dependencies (#4930)
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user