mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Pasdte tile data
This commit is contained in:
parent
2a51454682
commit
60b424c101
@ -640,10 +640,12 @@ public class IrisObject extends IrisRegistrant
|
|||||||
for(BlockVector g : getBlocks().keySet())
|
for(BlockVector g : getBlocks().keySet())
|
||||||
{
|
{
|
||||||
BlockData d = null;
|
BlockData d = null;
|
||||||
|
TileData<? extends TileState> tile = null;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
d = getBlocks().get(g);
|
d = getBlocks().get(g);
|
||||||
|
tile = getStates().get(g);
|
||||||
}
|
}
|
||||||
|
|
||||||
catch(Throwable e)
|
catch(Throwable e)
|
||||||
@ -733,6 +735,12 @@ public class IrisObject extends IrisRegistrant
|
|||||||
if(!data.getMaterial().equals(Material.AIR) && !data.getMaterial().equals(Material.CAVE_AIR))
|
if(!data.getMaterial().equals(Material.AIR) && !data.getMaterial().equals(Material.CAVE_AIR))
|
||||||
{
|
{
|
||||||
placer.set(xx, yy, zz, data);
|
placer.set(xx, yy, zz, data);
|
||||||
|
|
||||||
|
if(tile != null)
|
||||||
|
{
|
||||||
|
placer.setTile(xx, yy, zz, tile);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
readLock.unlock();
|
readLock.unlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user