LunaChat v3.0.16 : Updated version.
このコミットが含まれているのは:
1 親
b96d9566d0
コミット
d41b0de7e1
2ファイル変更
+9
-4
検索条件に一致するファイルはありません
@@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.github.ucchyocean</groupId>
|
||||
<artifactId>LunaChat</artifactId>
|
||||
<version>3.0.15</version>
|
||||
<version>3.0.16</version>
|
||||
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>
|
||||
<url>https://github.com/ucchyocean/LunaChat</url>
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
<dependency>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>2.1.145</version>
|
||||
<version>2.1.146</version>
|
||||
<optional>true</optional>
|
||||
<scope>provided</scope>
|
||||
<exclusions>
|
||||
|
||||
@@ -205,8 +205,13 @@ public class ClickableFormat {
|
||||
String command = matcher.group(4);
|
||||
TextComponent tc = new TextComponent(TextComponent.fromLegacyText(text));
|
||||
if ( !hover.isEmpty() ) {
|
||||
tc.setHoverEvent(new HoverEvent(
|
||||
HoverEvent.Action.SHOW_TEXT, new ComponentBuilder(hover).create()));
|
||||
@SuppressWarnings("deprecation")
|
||||
HoverEvent event = new HoverEvent(
|
||||
HoverEvent.Action.SHOW_TEXT, new ComponentBuilder(hover).create());
|
||||
// bungeecord-chat v1.16-R0.3 style.
|
||||
// HoverEvent event = new HoverEvent(
|
||||
// HoverEvent.Action.SHOW_TEXT, new Text(hover));
|
||||
tc.setHoverEvent(event);
|
||||
}
|
||||
if ( type.equals("RUN_COMMAND") ) {
|
||||
tc.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, command));
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする