This commit is contained in:
Julian Krings
2024-09-08 15:01:37 +02:00
parent 62fff7a56e
commit b736377aec
2 changed files with 2 additions and 1 deletions

View File

@@ -76,6 +76,7 @@ import java.util.Objects;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.function.Supplier;
@Decree(name = "studio", aliases = {"std", "s"}, description = "Studio Commands", studio = true)

View File

@@ -287,7 +287,7 @@ public interface Engine extends DataProvider, Fallible, LootProvider, BlockUpdat
mc.iterate(TileWrapper.class, (x, y, z, tile) -> {
int betterY = y + getWorld().minHeight();
if (!TileData.setTileState(c.getBlock(x, betterY, z), tile.getData()))
Iris.warn("Failed to set tile entity data at [%d %d %d | %s] for tile %s!", x, betterY, z, c.getBlock(x, betterY, z).getBlockData().getMaterial().getKey(), tile.getMaterial().name());
Iris.warn("Failed to set tile entity data at [%d %d %d | %s] for tile %s!", x, betterY, z, c.getBlock(x, betterY, z).getBlockData().getMaterial().getKey(), tile.getData().getMaterial().name());
});
}));
if (mc.isFlagged(MantleFlag.CUSTOM_ACTIVE)) {