mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 13:37:58 +01:00
Catch exceptions when tearing down block entities
This commit is contained in:
parent
1f46b08742
commit
b59c765197
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ public class EntityAppearance implements NbtSerialisable, PlayerDimensions.Provi
|
|||
entity = null;
|
||||
}
|
||||
if (blockEntity != null) {
|
||||
blockEntity.markRemoved();
|
||||
try {
|
||||
blockEntity.markRemoved();
|
||||
} catch (Throwable ignored) {}
|
||||
blockEntity = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue