aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-01 14:19:32 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-01 14:19:32 +0900
commite0387c6bdeed4660e7d900ca8f0fc0147e95fce3 (patch)
tree0ec68c007f3b22cf04db8ec3c7877f2bfbedf4e7 /src/main
parent7b240ed30ca76f65deaab751879ecf7e822d6616 (diff)
downloadSkyblock-Dungeons-Guide-e0387c6bdeed4660e7d900ca8f0fc0147e95fce3.tar.gz
Skyblock-Dungeons-Guide-e0387c6bdeed4660e7d900ca8f0fc0147e95fce3.tar.bz2
Skyblock-Dungeons-Guide-e0387c6bdeed4660e7d900ca8f0fc0147e95fce3.zip
errror to throwable
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/EventListener.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/EventListener.java b/src/main/java/kr/syeyoung/dungeonsguide/EventListener.java
index ce08b17c..c1f957ae 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/EventListener.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/EventListener.java
@@ -22,6 +22,7 @@ import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.event.ClientChatReceivedEvent;
import net.minecraftforge.client.event.RenderGameOverlayEvent;
import net.minecraftforge.client.event.RenderWorldLastEvent;
+import net.minecraftforge.event.entity.living.LivingSpawnEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.InputEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
@@ -64,7 +65,7 @@ public class EventListener {
}
}
}
- } catch (Error e2) {e2.printStackTrace();}
+ } catch (Throwable e2) {e2.printStackTrace();}
}
DynamicTexture dynamicTexture = new DynamicTexture(128, 128);
@@ -105,7 +106,7 @@ public class EventListener {
}
}
- } catch (Error e) {
+ } catch (Throwable e) {
e.printStackTrace();
}
}
@@ -131,7 +132,7 @@ public class EventListener {
}
}
- } catch (Error e) {
+ } catch (Throwable e) {
e.printStackTrace();
}
}
@@ -184,7 +185,7 @@ public class EventListener {
((GuiDungeonAddSet) guiScreen).onWorldRender(renderWorldLastEvent.partialTicks);
}
}
- } catch (Error e) {
+ } catch (Throwable e) {
e.printStackTrace();
}
}