You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
When quitting the server the instance is cleared and then the event is called. This causes the instance to be null in the event.
@Override
default @NotNull Instance getInstance() {
final Instance instance = getEntity().getInstance();
assert instance != null : "EntityInstanceEvent is only supported on events where the entity's instance is non-null!";
return instance;
}
When quitting the server the instance is cleared and then the event is called. This causes the instance to be null in the event.
Order of method calls:
Entity#remove(boolean)
Then Player#remove(boolean) (second part, after returning from Entity#remove(boolean))
Fix might be moving this snippet before the following, though I am unsure of possible side effects:
The text was updated successfully, but these errors were encountered: