mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 03:26:44 +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);
|
||||
}, light);
|
||||
return true;
|
||||
} catch (Throwable t) {
|
||||
Unicopia.LOGGER.error("Error whilst rendering minion", t);
|
||||
} finally {
|
||||
recurseMinion = false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
if (pony instanceof ItemImpl) {
|
||||
|
|
Loading…
Reference in a new issue