diff options
Diffstat (limited to 'src/ru/olamedia')
-rw-r--r-- | src/ru/olamedia/olacraft/network/GameClient.java | 2 | ||||
-rw-r--r-- | src/ru/olamedia/olacraft/network/GameServer.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ru/olamedia/olacraft/network/GameClient.java b/src/ru/olamedia/olacraft/network/GameClient.java index 669d954..acd50fd 100644 --- a/src/ru/olamedia/olacraft/network/GameClient.java +++ b/src/ru/olamedia/olacraft/network/GameClient.java @@ -32,7 +32,7 @@ public class GameClient extends ConnectionStateListener implements IPacketListen private WorldProvider worldProvider; private GameScene scene; - private Client client = new Client(70 * 1024 * 1024, 70 * 1024 * 1024); + private Client client = new Client(10 * 1024 * 1024, 10 * 1024 * 1024); private String hostname = "127.0.0.1"; @Override diff --git a/src/ru/olamedia/olacraft/network/GameServer.java b/src/ru/olamedia/olacraft/network/GameServer.java index 67dffc5..3d3832d 100644 --- a/src/ru/olamedia/olacraft/network/GameServer.java +++ b/src/ru/olamedia/olacraft/network/GameServer.java @@ -33,7 +33,7 @@ public class GameServer { private WorldProvider worldProvider; private ExecutorService threadPool = Executors.newFixedThreadPool(1); - public static Server server = new Server(70 * 1024 * 1024, 1024 * 1024) { + public static Server server = new Server(10 * 1024 * 1024, 1024 * 1024) { @Override protected PlayerConnection newConnection() { // By providing our own connection implementation, we can store per |