mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Debugging
This commit is contained in:
parent
a9caaefd16
commit
3d15abfdae
@ -151,11 +151,11 @@ public class BukkitChunkGenerator extends ChunkGenerator implements PlatformChun
|
|||||||
public void injectChunkReplacement(World world, int x, int z, Consumer<Runnable> jobs) {
|
public void injectChunkReplacement(World world, int x, int z, Consumer<Runnable> jobs) {
|
||||||
try {
|
try {
|
||||||
if (lastSeed != world.getSeed()) {
|
if (lastSeed != world.getSeed()) {
|
||||||
Iris.warn("Seed for engine " + lastSeed + " does not match world seed if " + world.getSeed());
|
Iris.debug("Seed for engine " + lastSeed + " does not match world seed if " + world.getSeed());
|
||||||
lastSeed = world.getSeed();
|
lastSeed = world.getSeed();
|
||||||
engine.getTarget().getWorld().seed(lastSeed);
|
engine.getTarget().getWorld().seed(lastSeed);
|
||||||
engine.hotload();
|
engine.hotload();
|
||||||
Iris.success("Updated Engine seed to " + lastSeed);
|
Iris.debug("Updated Engine seed to " + lastSeed);
|
||||||
}
|
}
|
||||||
|
|
||||||
loadLock.acquire();
|
loadLock.acquire();
|
||||||
@ -263,11 +263,11 @@ public class BukkitChunkGenerator extends ChunkGenerator implements PlatformChun
|
|||||||
public @NotNull ChunkData generateChunkData(@NotNull World world, @NotNull Random ignored, int x, int z, @NotNull BiomeGrid biome) {
|
public @NotNull ChunkData generateChunkData(@NotNull World world, @NotNull Random ignored, int x, int z, @NotNull BiomeGrid biome) {
|
||||||
try {
|
try {
|
||||||
if (lastSeed != world.getSeed()) {
|
if (lastSeed != world.getSeed()) {
|
||||||
Iris.warn("Seed for engine " + lastSeed + " does not match world seed if " + world.getSeed());
|
Iris.debug("Seed for engine " + lastSeed + " does not match world seed if " + world.getSeed());
|
||||||
lastSeed = world.getSeed();
|
lastSeed = world.getSeed();
|
||||||
engine.getTarget().getWorld().seed(lastSeed);
|
engine.getTarget().getWorld().seed(lastSeed);
|
||||||
engine.hotload();
|
engine.hotload();
|
||||||
Iris.success("Updated Engine seed to " + lastSeed);
|
Iris.debug("Updated Engine seed to " + lastSeed);
|
||||||
}
|
}
|
||||||
|
|
||||||
loadLock.acquire();
|
loadLock.acquire();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user