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:
parent
0d38a8439d
commit
84adc020f3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user