Skip to content

Commit

Permalink
补充
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw0014 committed Jun 14, 2022
1 parent d4cd932 commit c500dcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ body:
label: Minecraft 版本
description: 请选择你的 Minecraft 版本
options:
- 1.19.x
- 1.18.x
- 1.17.x
- 本插件不支持旧版本
validations:
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public void onSleep(@Nonnull PlayerInteractEvent event) {
if (TimePeriod.isNight(world)) {
player.sleep(block.getLocation(), true);
player.setBedSpawnLocation(block.getLocation());
player.sendMessage(ChatColor.WHITE + "Respawn point set");
player.sendMessage(ChatColor.WHITE + "已设置重生点");
} else {
player.sendMessage(ChatColor.WHITE + "You can only sleep at night or during thunderstorms");
player.sendMessage(ChatColor.WHITE + "你只能在夜间或者雷雨天睡觉");
}

}
Expand Down

0 comments on commit c500dcc

Please sign in to comment.