mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
Fix placement
This commit is contained in:
parent
8a7bc3c17d
commit
bb7e277f19
@ -189,14 +189,11 @@ public class IrisObject extends IrisRegistrant
|
|||||||
|
|
||||||
for(IrisObjectReplace j : config.getEdit())
|
for(IrisObjectReplace j : config.getEdit())
|
||||||
{
|
{
|
||||||
if(j.isExact())
|
for(BlockData k : j.getFind())
|
||||||
{
|
{
|
||||||
for(BlockData k : j.getFind())
|
if(j.isExact() ? k.matches(data) : k.getMaterial().equals(data.getMaterial()))
|
||||||
{
|
{
|
||||||
if(j.isExact() ? k.matches(data) : k.getMaterial().equals(data.getMaterial()))
|
data = j.getReplace(rng, i.getX() + x, i.getY() + y, i.getZ() + z).clone();
|
||||||
{
|
|
||||||
data = j.getReplace(rng, i.getX() + x, i.getY() + y, i.getZ() + z).clone();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user