feat: 添加潜影盒快捷打开和末影箱自定义标题功能
This commit is contained in:
@@ -10,8 +10,8 @@ public class AnvilCommand extends BaseCommand {
|
||||
|
||||
@Override
|
||||
protected boolean execute(Player player, String[] args) {
|
||||
// 使用 Paper API 打开铁砧(标题跟随客户端语言)
|
||||
player.openAnvil(null, true);
|
||||
player.sendMessage(getLang().getString("anvil-opened"));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user