Use same packet resource for all versions

This commit is contained in:
s809
2024-08-19 17:55:59 +05:00
parent b5e2019d28
commit 81e6f55dbf
2 changed files with 2 additions and 3 deletions
@@ -33,7 +33,6 @@ 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 = 3;
public static final String PLUGIN_CHANNEL_PATH = "main";
public static final String WRAPPER_PACKET_PATH = "message";
// endregion
@@ -15,9 +15,9 @@ public abstract class NetworkMessage implements INetworkObject
return this.session;
}
public void setSession(Session connection)
public void setSession(Session session)
{
this.session = connection;
this.session = session;
}