File tree Expand file tree Collapse file tree
bungeecord/src/main/java/com/andre601/oneversionremake/bungeecord/listener
velocity/src/main/java/com/andre601/oneversionremake/velocity/listener Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ public void onProxyPing(ProxyPingEvent event){
8181 ping .setDescriptionComponent (component );
8282 }
8383
84+ ping .setFavicon (ping .getFaviconObject ());
85+
8486 protocol .setProtocol (serverProtocols .get (0 ));
8587
8688 ping .setVersion (protocol );
Original file line number Diff line number Diff line change 1111
1212 <properties >
1313 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14- <plugin .version>3.3.1 </plugin .version>
14+ <plugin .version>3.3.2 </plugin .version>
1515 <maven .compiler.target>1.8</maven .compiler.target>
1616 <maven .compiler.source>1.8</maven .compiler.source>
1717 </properties >
Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ public void onProxyPing(ProxyPingEvent event){
8181 builder .description (ping .getDescriptionComponent ());
8282 }
8383
84+ // Prevents breaking favicons
85+ ping .getFavicon ().ifPresent (builder ::favicon );
86+
8487 event .setPing (builder .build ());
8588 }
8689 }
You can’t perform that action at this time.
0 commit comments