From e0387c6bdeed4660e7d900ca8f0fc0147e95fce3 Mon Sep 17 00:00:00 2001 From: syeyoung <42869671+cyoung06@users.noreply.github.com> Date: Tue, 1 Dec 2020 14:19:32 +0900 Subject: errror to throwable --- src/main/java/kr/syeyoung/dungeonsguide/EventListener.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/main/java/kr/syeyoung') 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(); } } -- cgit