mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fixed weight not being used in decorator palettes
This commit is contained in:
parent
7652aca406
commit
4a5794ad5f
@ -198,7 +198,9 @@ public class IrisDecorator
|
|||||||
BlockData bx = i.getBlockData(data);
|
BlockData bx = i.getBlockData(data);
|
||||||
if(bx != null)
|
if(bx != null)
|
||||||
{
|
{
|
||||||
blockData.add(bx);
|
for (int n = 0; n < i.getWeight(); n++) {
|
||||||
|
blockData.add(bx);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -216,7 +218,9 @@ public class IrisDecorator
|
|||||||
BlockData bx = i.getBlockData(data);
|
BlockData bx = i.getBlockData(data);
|
||||||
if(bx != null)
|
if(bx != null)
|
||||||
{
|
{
|
||||||
blockDataTops.add(bx);
|
for (int n = 0; n < i.getWeight(); n++) {
|
||||||
|
blockDataTops.add(bx);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user