Skip to content

Commit 9a46205

Browse files
Merge pull request #793 from THEXN/master
fix:#792
2 parents fffcbc1 + 3d7c683 commit 9a46205

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

src/GolfRewards/GolfRewards.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class GolfRewards : TerrariaPlugin
1111
public override string Name => System.Reflection.Assembly.GetExecutingAssembly().GetName().Name!;
1212
public override string Author => "GK 阁下 由 鸽子 定制,肝帝熙恩更新适配1449";
1313
public override string Description => GetString("将高尔夫打入球洞会得到奖励.");
14-
public override Version Version => new Version(1, 0, 11);
14+
public override Version Version => new Version(1, 1, 0);
1515

1616
public GolfRewards(Main game) : base(game)
1717
{
@@ -24,9 +24,9 @@ public override void Initialize()
2424
//LC.RI();
2525
LC.RC();
2626
GeneralHooks.ReloadEvent += this.CMD;
27-
Commands.ChatCommands.Add(new Command("物块坐标", this.CMD2, "物块坐标")
27+
Commands.ChatCommands.Add(new Command("blockpos", this.CMD2, "blockpos","物块坐标")
2828
{
29-
HelpText = GetString("输入/物块坐标后敲击物块确认坐标")
29+
HelpText = GetString("输入/物块坐标 或 /blockpos 后敲击物块确认坐标")
3030
});
3131
ServerApi.Hooks.NetGetData.Register(this, this.GetData);
3232

src/GolfRewards/README.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
| Command | Permissions | Description |
1212
|-------|:----:|:-----------:|
13-
| /物块坐标 | 物块坐标 | Auxiliary command to determine block coordinates |
13+
| /物块坐标 或 /blockpos | blockpos | Auxiliary command to determine block coordinates |
1414

1515
## Configuration
1616
> Configuration file location: tshock/高尔夫奖励.json

src/GolfRewards/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
| 语法 | 权限 | 说明 |
1212
|-------|:----:|:-----------:|
13-
| /物块坐标 | 物块坐标 | 辅助指令,确定方块坐标 |
13+
| /物块坐标 或 /blockpos | 物块坐标 | 辅助指令,确定方块坐标 |
1414

1515
## 配置
1616
> 配置文件位置:tshock/高尔夫奖励.json
@@ -53,6 +53,9 @@
5353
## 更新日志
5454

5555
```
56+
v1.1.0
57+
增加英文指令,改成英文权限
58+
5659
v1.0.8
5760
移除构造函数加载配置文件
5861

src/Invincibility/InvincibilityPlugin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class InvincibilityPlugin : TerrariaPlugin
1212
public override string Author => "肝帝熙恩";
1313
public override string Description => GetString("在命令中给予玩家一段时间的无敌状态。");
1414
public override string Name => System.Reflection.Assembly.GetExecutingAssembly().GetName().Name!;
15-
public override Version Version => new Version(1, 0, 10);
15+
public override Version Version => new Version(1, 1, 0);
1616
public static Configuration Config = null!;
1717

1818
private readonly Dictionary<TSPlayer, float> invincibleDurations = new();
@@ -92,7 +92,7 @@ private void InvincibleCommand(CommandArgs args)
9292
{
9393
if (args.Parameters.Count < 1)
9494
{
95-
args.Player.SendErrorMessage(GetString("用法: /限时god无敌或tgod <持续时间秒数>"));
95+
args.Player.SendErrorMessage(GetString("用法: /限时god无敌 或 /tgod <持续时间秒数>"));
9696
return;
9797
}
9898

src/Invincibility/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
## 更新日志
3131

3232
```
33+
v1.1.0
34+
修正提示
3335
v1.0.7
3436
完善卸载函数+1
3537
v1.0.6

0 commit comments

Comments
 (0)