mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Add more info to Fabric's geyser dumps (#4175)
* Added onlineMode, platformName, and Minecraft version to dump - renames platformVersion to loaderVersion since that is more fitting to modded structure * rename loaderVersion back to platformVersion * address review by @Konicai * Fix geyser dump creation (regression from the syntax/annotation PR)
This commit is contained in:
parent
95d65350e4
commit
c0f6a2b926
2 changed files with 12 additions and 1 deletions
|
@ -68,6 +68,11 @@ public class AsteriskSerializer extends StdSerializer<Object> implements Context
|
|||
String asterisk;
|
||||
boolean isIp;
|
||||
|
||||
@SuppressWarnings("unused") // Used by Jackson for Geyser dumps
|
||||
public AsteriskSerializer() {
|
||||
super(Object.class);
|
||||
}
|
||||
|
||||
public AsteriskSerializer(String asterisk, boolean isIp) {
|
||||
super(Object.class);
|
||||
this.asterisk = asterisk;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue