Report stack traces through the logger (#1050)
This commit is contained in:
1 parent
4a580a5a42
commit
7486670918
7 files changed
+16
-17
No files matched your search
@@ -34,6 +34,8 @@ import net.minecraft.world.gen.chunk.ChunkGenerator;
|
||||
import net.minecraft.world.gen.feature.StructureFeature;
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
import carpet.CarpetSettings;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
@@ -460,7 +462,7 @@ public class SpawnReporter
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
exception.printStackTrace();
|
||||
CarpetSettings.LOG.warn("Exception while creating mob for spawn reporter", exception);
|
||||
return rep;
|
||||
}
|
||||
|
||||
@@ -517,7 +519,7 @@ public class SpawnReporter
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
exception.printStackTrace();
|
||||
CarpetSettings.LOG.warn("Exception while creating mob for spawn reporter", exception);
|
||||
return rep;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user