mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-28 06:50:02 +00:00
Fixed weight not being used in decorator palettes
This commit is contained in:
1 parent
7652aca406
commit
4a5794ad5f
1 file changed
+4
@@ -198,9 +198,11 @@ public class IrisDecorator
|
||||
BlockData bx = i.getBlockData(data);
|
||||
if(bx != null)
|
||||
{
|
||||
for (int n = 0; n < i.getWeight(); n++) {
|
||||
blockData.add(bx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return blockData;
|
||||
});
|
||||
@@ -216,9 +218,11 @@ public class IrisDecorator
|
||||
BlockData bx = i.getBlockData(data);
|
||||
if(bx != null)
|
||||
{
|
||||
for (int n = 0; n < i.getWeight(); n++) {
|
||||
blockDataTops.add(bx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return blockDataTops;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user