Skip to content

Commit

Permalink
在NKMOT核心上不保存实体
Browse files Browse the repository at this point in the history
  • Loading branch information
lt-name committed Jan 17, 2024
1 parent d9afe23 commit 0711716
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/smallaswater/npc/entitys/EntityRsNPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,10 @@ public void sendData(Player[] players, EntityMetadata data) {
player.dataPacket(clone);
}
}

//为了兼容PM1E,我们不使用setCanBeSavedWithChunk()方法
@Override
public boolean canBeSavedWithChunk() {
return false;
}
}

0 comments on commit 0711716

Please sign in to comment.