Add missing setSeed calls to ForgeBlockModelRenderer (#5338)

This commit is contained in:
Vincent Lee 2019-01-09 22:57:55 -06:00 committed by LexManos
parent 36d2e67b07
commit 4e196a445a

View file

@ -99,6 +99,7 @@ public class ForgeBlockModelRenderer extends BlockModelRenderer
lighter.setState(state); lighter.setState(state);
lighter.setBlockPos(pos); lighter.setBlockPos(pos);
boolean empty = true; boolean empty = true;
rand.setSeed(seed);
List<BakedQuad> quads = model.getQuads(state, null, rand); List<BakedQuad> quads = model.getQuads(state, null, rand);
if(!quads.isEmpty()) if(!quads.isEmpty())
{ {
@ -111,6 +112,7 @@ public class ForgeBlockModelRenderer extends BlockModelRenderer
} }
for(EnumFacing side : EnumFacing.values()) for(EnumFacing side : EnumFacing.values())
{ {
rand.setSeed(seed);
quads = model.getQuads(state, side, rand); quads = model.getQuads(state, side, rand);
if(!quads.isEmpty()) if(!quads.isEmpty())
{ {