[skip ci] Somewhere

This commit is contained in:
s809
2024-05-22 23:18:18 +05:00
parent 44205664b5
commit 1f63bdf124
14 changed files with 87 additions and 237 deletions
@@ -191,7 +191,7 @@ public class DhApi
* Returns the network protocol version.
* @since API 1.0.0
*/
public static int getNetworkProtocolVersion() { return ModInfo.OLD_PROTOCOL_VERSION; }
public static int getNetworkProtocolVersion() { return ModInfo.PROTOCOL_VERSION; }
// methods //
@@ -32,7 +32,7 @@ public final class ModInfo
// region Protocol versions
// Incremented every time any packets are added, changed or removed, with a few exceptions.
public static final int PROTOCOL_VERSION = 1;
public static final int PROTOCOL_VERSION = 2;
public static final String PLUGIN_CHANNEL_PATH = "plugin_channel";
public static final String WRAPPER_PACKET_PATH = "wrapper";
// endregion