小调整

下个版本我想把传送回溯的持久化给做了,先等等吧,还有几个小时26.2正式版就发了
This commit is contained in:
TheWhiteDog9487
2026-06-16 17:26:37 +08:00
parent f83911a27e
commit 4f28e84e90
5 changed files with 52 additions and 30 deletions

View File

@@ -37,7 +37,7 @@ val TargetBlock = Blocks.GLASS
* <br></br>
* 替换范围:替换中心周围半径为一的正方形区域
*/
val ReplaceToTargetBlock = setOf<Block?>(
val ReplaceToTargetBlock = setOf(
Blocks.AIR,
Blocks.VOID_AIR,
Blocks.CAVE_AIR,
@@ -66,7 +66,7 @@ val PermissionLevel = Commands.LEVEL_GAMEMASTERS
/**
* 在传送之前记录当前位置,以支持传送回去
*/
var OldPositions: MutableMap<UUID, Vec3> = HashMap<UUID, Vec3>()
var OldPositions: MutableMap<UUID, Vec3> = mutableMapOf()
/**
* 命令执行失败时的返回值