Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/WaterdogPE/WaterdogPE int…
Browse files Browse the repository at this point in the history
…o v1.21.50
  • Loading branch information
AkmalFairuz committed Dec 8, 2024
2 parents d08ce03 + 94476df commit 4266d8e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</description>
<groupId>dev.waterdog.waterdogpe</groupId>
<artifactId>waterdog</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.4-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/waterdog/waterdogpe/VersionInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class VersionInfo {

public static final boolean DEFAULT_DEBUG = true;

private final String baseVersion = "2.0.2";
private final String baseVersion = "2.0.4";
private final String buildVersion = "#build";
private final String author = "WaterdogTEAM";
private final int metricsId = 15678;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public enum ProtocolVersion {
MINECRAFT_PE_1_21_20(712, Bedrock_v712.CODEC),
MINECRAFT_PE_1_21_30(729, Bedrock_v729.CODEC),
MINECRAFT_PE_1_21_40(748, Bedrock_v748.CODEC),
MINECRAFT_PE_1_21_50_29(765, 766, Bedrock_v766.CODEC),
MINECRAFT_PE_1_21_50(766, Bedrock_v766.CODEC);

private static final ProtocolVersion[] VALUES = values();
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/dev/waterdog/waterdogpe/packs/PackManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ public void rebuildPackets() {
this.packsInfoPacket.setWorldTemplateVersion("0.0.0");

this.packsInfoPacket.setForcedToAccept(this.proxy.getConfiguration().isForceServerPacks());
this.packsInfoPacket.setWorldTemplateId(UUID.randomUUID());
this.packsInfoPacket.setWorldTemplateVersion("");
this.stackPacket.setForcedToAccept(this.proxy.getConfiguration().isOverwriteClientPacks());

this.packsInfoPacket.getBehaviorPackInfos().clear();
Expand Down

0 comments on commit 4266d8e

Please sign in to comment.