Skip to content

Commit

Permalink
Bump to Reversion v1.0.15
Browse files Browse the repository at this point in the history
* Add server support for Geyser Bedrock v1.16.100.56 (beta)
* Translate PotionMixData as well now
* Provide the translation chain used when Geyser is showing debug logs
  • Loading branch information
bundabrg committed Sep 24, 2020
1 parent eec5a59 commit 78bcaed
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ allow any supported version to connect to any supported Geyser.

## Server Versions Support
* Geyser Bedrock v1.16.2
* Geyser Bedrock v1.16.110.56 (beta)

## Quick Start

Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ allow any supported version to connect to any supported Geyser.

## Server Versions Support
* Geyser Bedrock v1.16.2
* Geyser Bedrock v1.16.110.56 (beta)

## Quick Start

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@

package au.com.grieve.geyser.reversion.editions.bedrock.handlers;

import au.com.grieve.geyser.reversion.GeyserReversionExtension;
import au.com.grieve.geyser.reversion.server.GeyserServerSession;
import au.com.grieve.reversion.api.LoginData;
import au.com.grieve.reversion.api.Translator;
import au.com.grieve.reversion.editions.bedrock.BedrockReversionSession;
import au.com.grieve.reversion.exceptions.LoginException;
import au.com.grieve.reversion.shaded.nukkitx.protocol.bedrock.BedrockPacket;
Expand Down Expand Up @@ -232,6 +234,16 @@ public boolean handle(LoginPacket loginPacket) {
}
}

// Provide some debug about our translation chain
Translator translator = serverSession.getTranslator();
if (translator != null) {
GeyserReversionExtension.getInstance().getLogger().debug("Translator Chain:");
while (translator != null) {
GeyserReversionExtension.getInstance().getLogger().debug(" " + translator);
translator = translator.getDownstreamTranslator();
}
}

// Encrypt Connection
serverSession.enableEncryption(serverSession.getLoginData().getEncryptionKey());

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<reversion.version>1.0.14</reversion.version>
<reversion.version>1.0.15</reversion.version>
</properties>

<build>
Expand Down

0 comments on commit 78bcaed

Please sign in to comment.