Player Name As Commit Author

This commit is contained in:
Muhammad Tamir
2025-06-20 11:04:26 +07:00
parent 7699b307c8
commit 634b8fa31b
2 changed files with 15 additions and 4 deletions

View File

@@ -53,11 +53,11 @@ public class GitManager {
add.call();
}
public void commit(String message) throws Exception {
public void commit(String message, String authorName, String authorEmail) throws Exception {
getOrOpenGit()
.commit()
.setMessage(message)
.setAuthor("Minecraft", "mc@localhost")
.setAuthor(authorName, authorEmail)
.call();
}