mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Catch exceptions when tearing down block entities
This commit is contained in:
parent
c0a88dacd2
commit
61c8ae8927
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) {
|
||||
try {
|
||||
blockEntity.markRemoved();
|
||||
} catch (Throwable ignored) {}
|
||||
blockEntity = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue