catch unexpected ClientTick exceptions to prevent crashing MC
This commit is contained in:
@@ -77,8 +77,15 @@ public class DhClientLevel extends DhLevel implements IDhClientLevel
|
||||
@Override
|
||||
public void clientTick()
|
||||
{
|
||||
this.chunkToLodBuilder.tick();
|
||||
this.clientside.clientTick();
|
||||
try
|
||||
{
|
||||
this.chunkToLodBuilder.tick();
|
||||
this.clientside.clientTick();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOGGER.error("Unexpected clientTick Exception: "+e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user