-
-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
resolution: fixed / doneFixed or DoneFixed or Done
Description
描述你希望添加的功能。 Describe the feature you'd like.
如题,我觉得假人应该像一般玩家那样掉落经验球,但代码中只处理了背包物品的逻辑。
Leaves/leaves-server/src/main/java/org/leavesmc/leaves/bot/BotList.java
Lines 240 to 250 in 16328c2
| this.resumeDataStorage.removeSavedData(bot); | |
| if (event.shouldSave()) { | |
| if (resume) { | |
| this.resumeDataStorage.save(bot); | |
| } else { | |
| this.manualSaveDataStorage.save(bot); | |
| } | |
| } else { | |
| bot.dropAll(true); | |
| botsNameByWorldUuid.getOrDefault(bot.level().uuid.toString(), new HashSet<>()).remove(bot.getBukkitEntity().getName()); | |
| } |
按原版的
玩家死亡后会掉落“经验等级×7”点经验,最高不超过100点,其余的经验值会遗失。
或全部掉落。
其他 Other
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
resolution: fixed / doneFixed or DoneFixed or Done
Type
Projects
Status
Done