Bug fixing

This commit is contained in:
2024-07-28 16:51:34 +02:00
parent 7c556bae5b
commit ada261b544
5 changed files with 72 additions and 18 deletions

View File

@@ -0,0 +1,22 @@
/*
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
*
* You are unauthorized to remove this copyright.
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
* See LICENSE-File if exists
*/
package tests;
import me.finn.unlegitlibrary.event.EventManager;
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
import me.finn.unlegitlibrary.network.system.packets.PacketHandler;
import java.lang.reflect.InvocationTargetException;
public class Client {
public static void main(String[] args) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException {
new NetworkClient.ClientBuilder().setPacketHandler(new PacketHandler()).setEventManager(new EventManager()).
setHost("localhost").setPort(25565).build().connect();
}
}