mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-29 11:49:07 +00:00
Add /mechanic command to view server mechanics
This commit is contained in:
@@ -109,4 +109,9 @@ public record MinecraftMechanicsTarget(short mechanicVersion, byte serverType) {
|
||||
|
||||
return new MinecraftMechanicsTarget(mechanicVersion, serverType);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MechanicVersion.name(this.mechanicVersion) + "+" + ServerType.name(this.serverType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user