Skip to content

Commit

Permalink
LunaChat v2.8.15 : Fixed issue #165.
Browse files Browse the repository at this point in the history
  • Loading branch information
ucchyocean committed May 6, 2020
1 parent 3e857dd commit 73154ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ucchyocean</groupId>
<artifactId>LunaChat</artifactId>
<version>2.8.14</version>
<version>2.8.15</version>
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>

<licenses>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/github/ucchyocean/lc/PlayerListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ private String replaceNormalChatFormatKeywords(String org, Player player) {
String format = org;
format = format.replace("%username", "%1$s");
format = format.replace("%msg", "%2$s");
format = format.replace("%player", player.getName());

if ( format.contains("%date") ) {
format = format.replace("%date", dateFormat.format(new Date()));
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/config_ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ enableNormalChatMessageFormat: true
# チャット装飾のフォーマット設定。
# フォーマット設定には、下記のキーワードが使用できます。
# %username : 発言者表示名
# %player : 発言者ID
# %world : 発言したワールド名
# %prefix : プレフィックス(VaultとPermissionsExが導入されている場合に置き換えられます)
# %suffix : サフィックス(VaultとPermissionsExが導入されている場合に置き換えられます)
Expand Down

0 comments on commit 73154ba

Please sign in to comment.