Made ServerGui usable and prepared for 3.0

This commit is contained in:
2019-04-28 12:06:49 +02:00
parent 510cb9c295
commit ffdd3e6dee
6 changed files with 33 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
#Mon Apr 15 11:15:43 CEST 2019
#Sun Apr 28 11:53:19 CEST 2019
Load-File-on-startup=true
key2=44
key1=29
Check-for-updates-on-startup=true
Check-for-updates-on-startup=true

View File

@@ -14,7 +14,7 @@ public class UpdateChecker {
public void requestServerData(){
try {
Socket socket = new Socket();
socket.connect(new InetSocketAddress(InetAddress.getByName(/*"cookiestudios.org"*/"localhost"), 9999), 2000);
socket.connect(new InetSocketAddress(InetAddress.getByName("cookiestudios.org"), 9999), 2000);
DataInputStream in = new DataInputStream(socket.getInputStream());
DataOutputStream out = new DataOutputStream(socket.getOutputStream());