Skip to content

Commit

Permalink
Remove version variable from Edition
Browse files Browse the repository at this point in the history
  • Loading branch information
bundabrg committed Jun 23, 2020
1 parent 3f82091 commit 2374ad6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,13 @@ public abstract class GeyserEdition {
// -- Variables -- //
private final GeyserConnector connector;
private final String edition;
private final String version;
protected BedrockPacketCodec codec;
protected String pongEdition;

protected GeyserEdition(GeyserConnector connector, String edition, String version) {
protected GeyserEdition(GeyserConnector connector, String edition) {
INSTANCE = this;
this.connector = connector;
this.edition = edition;
this.version = version;
}

public GeyserEdition(GeyserConnector connector) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public class Edition extends GeyserEdition {
private final TokenManager tokenManager;

public Edition(GeyserConnector connector) {
super(connector, "education", "1.12.60");
super(connector, "education:latest");

tokenManager = new TokenManager(this);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
public class Edition extends GeyserEdition {

public Edition(GeyserConnector connector) {
super(connector, "bedrock", "1.14.60");
super(connector, "bedrock:latest");

// Version
codec = Bedrock_v390.V390_CODEC;
Expand Down

0 comments on commit 2374ad6

Please sign in to comment.