mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-17 11:05:05 +00:00
18 lines
397 B
Java
18 lines
397 B
Java
package mcp.mobius.opis.network;
|
|
|
|
public class ClientCommandHandler {
|
|
|
|
private static ClientCommandHandler _instance;
|
|
private ClientCommandHandler(){}
|
|
|
|
public static ClientCommandHandler instance(){
|
|
if(_instance == null)
|
|
_instance = new ClientCommandHandler();
|
|
return _instance;
|
|
}
|
|
|
|
public void handle(byte cmd){
|
|
System.out.printf("Received client cmd with id %s\n", cmd);
|
|
}
|
|
}
|