Skip to content

Commit

Permalink
修正部分问题
Browse files Browse the repository at this point in the history
  • Loading branch information
TartaricAcid committed Dec 19, 2023
1 parent 009386c commit cc9861b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ public void onAddedToWorld() {
@Override
public void onRemovedFromWorld() {
super.onRemovedFromWorld();
if (!this.level.isClientSide && this.getOwnerUUID() != null) {
if (!this.level.isClientSide && this.isAlive() && this.getOwnerUUID() != null) {
MaidWorldData data = MaidWorldData.get(this.level);
if (data != null) {
data.addInfo(this);
Expand Down

0 comments on commit cc9861b

Please sign in to comment.