1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 10:23:31 +02:00

Unit tests (client)

- Use 1 second fakelag when doing unit tests else my server kicks me (results in error I still need to handle)
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-06 19:41:35 +02:00
parent 0d38a8439d
commit 84adc020f3

View File

@ -1303,8 +1303,8 @@ public class Client : Thread
//bonobonet: fd08:8441:e254::5
ConnectionInfo connInfo = ConnectionInfo.newConnection("worcester.community.networks.deavmi.assigned.network", 6667, "birchwood", "doggie", "Tristan B. Kildaire");
// // Set the fakelag to 1 second
// connInfo.setFakeLag(1);
// Set the fakelag to 1 second (server kicks me for spam me thinks if not)
connInfo.setFakeLag(1);
// Create a new Client
Client client = new Client(connInfo);