mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 11:09:06 +00:00
Fixed weight not being used in decorator palettes
This commit is contained in:
@@ -198,7 +198,9 @@ public class IrisDecorator
|
||||
BlockData bx = i.getBlockData(data);
|
||||
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);
|
||||
if(bx != null)
|
||||
{
|
||||
blockDataTops.add(bx);
|
||||
for (int n = 0; n < i.getWeight(); n++) {
|
||||
blockDataTops.add(bx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user