Skip to content

Commit

Permalink
[1.5.2-beta5]修复craft item give命令缺失提示的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiyodaXiaoYi committed Dec 1, 2023
1 parent 220cf3a commit 06ec004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
}

group = "com.github.yufiriamazenta"
version = "1.5.2-beta4"
version = "1.5.2-beta5"
var pluginVersion: String = version.toString() + "-" + SimpleDateFormat("yyyyMMdd").format(System.currentTimeMillis())
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public boolean onCommand(CommandSender sender, List<String> args) {
}

player.getInventory().addItem(ItemManager.getCraftorithmItem(args.get(0)));
LangUtil.sendLang(sender, Languages.commandItemGiveSuccess.value());
return true;
}

Expand Down

0 comments on commit 06ec004

Please sign in to comment.