清理:移除未使用代码与翻译键,更新文档版本 (26.9.17)
This commit is contained in:
1 parent
3461f996dc
commit
5eeab209f5
11 files changed
+13
-18
No files matched your search
@@ -260,7 +260,6 @@ def _extract_item_payload(payload: str, version: Version) -> Optional[str]:
|
||||
def _do_swap(server: PluginServerInterface, src: CommandSource, player: str, version: Version) -> bool:
|
||||
name = sanitize_name(player)
|
||||
head_slot = _head_slot(version)
|
||||
hand_slot = _hand_slot(version, 0)
|
||||
|
||||
# 1.17+: true swap via offhand buffer — no need to rebuild item NBT
|
||||
if is_at_least(version, "1.17"):
|
||||
|
||||
Reference in new issue
Block a user