File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/viaversion/fabric/common/provider Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -193,9 +193,8 @@ public JsonObject getDump() {
193193 mod .getMetadata ().getAuthors ().stream ().map (it -> {
194194 JsonObject info = new JsonObject ();
195195 JsonObject contact = new JsonObject ();
196- it .getContact ().asMap ().entrySet ()
197- .forEach (c -> contact .addProperty (c .getKey (), c .getValue ()));
198- if (contact .size () != 0 ) {
196+ it .getContact ().asMap ().forEach (contact ::addProperty );
197+ if (!contact .isEmpty ()) {
199198 info .add ("contact" , contact );
200199 }
201200 info .addProperty ("name" , it .getName ());
@@ -212,6 +211,7 @@ public JsonObject getDump() {
212211 if (ver != null ) {
213212 platformSpecific .addProperty ("native version" , ver .getNativeServerProtocolVersion ().getVersion ());
214213 }
214+ platformSpecific .addProperty ("environment" , FabricLoader .getInstance ().getEnvironmentType ().name ());
215215 return platformSpecific ;
216216 }
217217
You can’t perform that action at this time.
0 commit comments