mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
Catch exceptions when trying to render a minion
This commit is contained in:
parent
407c06746a
commit
85f01c317c
1 changed files with 3 additions and 1 deletions
|
@ -81,10 +81,12 @@ public class WorldRenderDelegate {
|
||||||
);
|
);
|
||||||
}).orElse(buffer);
|
}).orElse(buffer);
|
||||||
}, light);
|
}, light);
|
||||||
|
return true;
|
||||||
|
} catch (Throwable t) {
|
||||||
|
Unicopia.LOGGER.error("Error whilst rendering minion", t);
|
||||||
} finally {
|
} finally {
|
||||||
recurseMinion = false;
|
recurseMinion = false;
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pony instanceof ItemImpl) {
|
if (pony instanceof ItemImpl) {
|
||||||
|
|
Loading…
Reference in a new issue