9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

fix: fix bot load

This commit is contained in:
MC_XiaoHei
2025-10-12 00:16:55 +08:00
parent 96ffa72e7c
commit e5d2b552ea

View File

@@ -128,6 +128,7 @@ public class BotList {
return null;
}
ValueInput nbt = optional.get();
bot.load(nbt);
ResourceKey<Level> resourcekey = null;
if (nbt.getLong("WorldUUIDMost").isPresent() && nbt.getLong("WorldUUIDLeast").isPresent()) {