forked from GeyserMC/Geyser
Added automatic git version infomation to startup (#327)
* Added automatic git version infomation to startup * Moved to compile time replacement * Cleaned up old functions * Removed redundant variable * Added project version to version string
This commit is contained in:
parent
3c7e89ba3f
commit
129e10c920
2 changed files with 80 additions and 3 deletions
|
@ -28,9 +28,7 @@ package org.geysermc.connector;
|
|||
import com.nukkitx.protocol.bedrock.BedrockPacketCodec;
|
||||
import com.nukkitx.protocol.bedrock.BedrockServer;
|
||||
import com.nukkitx.protocol.bedrock.v390.Bedrock_v390;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
import org.geysermc.common.AuthType;
|
||||
import org.geysermc.common.PlatformType;
|
||||
import org.geysermc.connector.bootstrap.GeyserBootstrap;
|
||||
|
@ -59,7 +57,7 @@ public class GeyserConnector {
|
|||
public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v390.V390_CODEC;
|
||||
|
||||
public static final String NAME = "Geyser";
|
||||
public static final String VERSION = "1.0-SNAPSHOT";
|
||||
public static final String VERSION = "DEV"; // A fallback for running in IDEs
|
||||
|
||||
private final Map<InetSocketAddress, GeyserSession> players = new HashMap<>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue