diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index c0a360a..e04de43 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -108,8 +108,8 @@ body: label: Minecraft 版本 description: 请选择你的 Minecraft 版本 options: + - 1.19.x - 1.18.x - - 1.17.x - 本插件不支持旧版本 validations: required: true diff --git a/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java b/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java index 3cd8370..44af415 100644 --- a/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java +++ b/src/main/java/dev/sefiraat/netheopoiesis/listeners/PlayerSleepListener.java @@ -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 + "你只能在夜间或者雷雨天睡觉"); } }