mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fixed camelcasing in IConnectionHandler, ment to do during first upgrade.
This commit is contained in:
1 parent
114c534db4
commit
116e078db7
2 files changed
+6
-6
No files matched your search
@@ -127,7 +127,7 @@ public class ForgeHooks
|
||||
{
|
||||
for (IConnectionHandler handler : connectionHandlers)
|
||||
{
|
||||
handler.OnConnect(network);
|
||||
handler.onConnect(network);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ public class ForgeHooks
|
||||
{
|
||||
for (IConnectionHandler handler : connectionHandlers)
|
||||
{
|
||||
handler.OnLogin(network, login);
|
||||
handler.onLogin(network, login);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ public class ForgeHooks
|
||||
{
|
||||
for (IConnectionHandler handler : connectionHandlers)
|
||||
{
|
||||
handler.OnDisconnect(network, message, args);
|
||||
handler.onDisconnect(network, message, args);
|
||||
}
|
||||
}
|
||||
static LinkedList<IConnectionHandler> connectionHandlers = new LinkedList<IConnectionHandler>();
|
||||
|
||||
@@ -9,7 +9,7 @@ public interface IConnectionHandler
|
||||
* Raised when a Client successfully connects it's socket to the Server.
|
||||
* @param network The new NetworkManager associated with this connection.
|
||||
*/
|
||||
public void OnConnect(NetworkManager network);
|
||||
public void onConnect(NetworkManager network);
|
||||
|
||||
/**
|
||||
* Raised when you receive a Packet1Login.
|
||||
@@ -22,7 +22,7 @@ public interface IConnectionHandler
|
||||
* @param network The NetoworkManager associated with this connection.
|
||||
* @param login The login packet
|
||||
*/
|
||||
public void OnLogin(NetworkManager network, Packet1Login login);
|
||||
public void onLogin(NetworkManager network, Packet1Login login);
|
||||
|
||||
/**
|
||||
* Raised whenever the socket is closed, can be caused by various reasons.
|
||||
@@ -32,5 +32,5 @@ public interface IConnectionHandler
|
||||
* @param args Any additional arguments that the code may of provided.
|
||||
* Sometimes this is further explanation, or a Throwable, in the case of errors.
|
||||
*/
|
||||
public void OnDisconnect(NetworkManager network, String message, Object[] args);
|
||||
public void onDisconnect(NetworkManager network, String message, Object[] args);
|
||||
}
|
||||
Reference in new issue
Block a user