Stop using @SneakyThrows since it breaks the JDT used for source remap
This commit is contained in:
@@ -9,7 +9,6 @@ import com.replaymod.render.blend.data.DMesh;
|
||||
import com.replaymod.render.blend.data.DObject;
|
||||
import com.replaymod.replaystudio.us.myles.ViaVersion.util.ReflectionUtil;
|
||||
import de.johni0702.minecraft.gui.utils.lwjgl.vector.Vector3f;
|
||||
import lombok.SneakyThrows;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.GLAllocation;
|
||||
import net.minecraft.client.renderer.OpenGlHelper;
|
||||
@@ -70,7 +69,6 @@ public class ChunkExporter implements Exporter {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void setup() throws IOException {
|
||||
|
||||
Minecraft mc = MCVer.getMinecraft();
|
||||
|
||||
@@ -7,7 +7,6 @@ import com.replaymod.render.blend.Exporter;
|
||||
import com.replaymod.render.blend.data.DObject;
|
||||
import de.johni0702.minecraft.gui.utils.lwjgl.vector.Matrix4f;
|
||||
import de.johni0702.minecraft.gui.utils.lwjgl.vector.Vector3f;
|
||||
import lombok.SneakyThrows;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
@@ -29,8 +28,7 @@ public class EntityExporter implements Exporter {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void setup() throws IOException {
|
||||
public void setup() {
|
||||
entitiesObject = new DObject(DObject.Type.OB_EMPTY);
|
||||
entitiesObject.id.name = "Entities";
|
||||
entitiesObject.layers = 1 << 1;
|
||||
|
||||
@@ -7,7 +7,6 @@ import com.replaymod.render.blend.Exporter;
|
||||
import com.replaymod.render.blend.data.DObject;
|
||||
import de.johni0702.minecraft.gui.utils.lwjgl.vector.Matrix4f;
|
||||
import de.johni0702.minecraft.gui.utils.lwjgl.vector.Vector3f;
|
||||
import lombok.SneakyThrows;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
@@ -36,7 +35,6 @@ public class TileEntityExporter implements Exporter {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void setup() throws IOException {
|
||||
tileEntitiesObject = new DObject(DObject.Type.OB_EMPTY);
|
||||
tileEntitiesObject.id.name = "TileEntities";
|
||||
|
||||
Reference in New Issue
Block a user