Skip to content

Commit

Permalink
WIP: 1.19.4 update
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulloy2 committed Mar 23, 2023
1 parent bba534d commit 05fa147
Show file tree
Hide file tree
Showing 19 changed files with 1,068 additions and 363 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<junit.version>5.9.0</junit.version>
<mockito.version>4.6.1</mockito.version>
<netty.version>4.1.77.Final</netty.version>
<spigot.version>1.19.3-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.19.4-R0.1-SNAPSHOT</spigot.version>
</properties>

<build>
Expand Down
272 changes: 138 additions & 134 deletions src/main/java/com/comphenix/protocol/PacketType.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

public class InternalStructure extends AbstractStructure {

protected InternalStructure(Object handle, StructureModifier<Object> structureModifier) {
public InternalStructure(Object handle, StructureModifier<Object> structureModifier) {
super(handle, structureModifier);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ private static NavigableMap<MinecraftVersion, Integer> createLookup() {
map.put(new MinecraftVersion(1, 19, 1), 760);
map.put(new MinecraftVersion(1, 19, 2), 760);
map.put(new MinecraftVersion(1, 19, 3), 761);
map.put(new MinecraftVersion(1, 19, 4), 762);

return map;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
*/
public final class MinecraftVersion implements Comparable<MinecraftVersion>, Serializable {

/**
* Version 1.19.4 - the rest of the feature preview
*/
public static final MinecraftVersion FEATURE_PREVIEW_2 = new MinecraftVersion("1.19.4");

/**
* Version 1.19.3 - introducing feature preview
*/
Expand Down Expand Up @@ -117,7 +122,7 @@ public final class MinecraftVersion implements Comparable<MinecraftVersion>, Ser
/**
* The latest release version of minecraft.
*/
public static final MinecraftVersion LATEST = FEATURE_PREVIEW_UPDATE;
public static final MinecraftVersion LATEST = FEATURE_PREVIEW_2;

// used when serializing
private static final long serialVersionUID = -8695133558996459770L;
Expand Down
Loading

0 comments on commit 05fa147

Please sign in to comment.