Skip to content

Commit

Permalink
Correct and optimize MinicraftServer
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBigEye committed Feb 15, 2021
1 parent d6ccd0c commit ee9ff83
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 183 deletions.
2 changes: 1 addition & 1 deletion src/minicraft/network/MinicraftConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public abstract class MinicraftConnection extends Thread implements MinicraftPro

private PrintWriter out;
private BufferedReader in;
private Socket socket = null;
private Socket socket;

protected MinicraftConnection(String threadName, @Nullable Socket socket) {
super(threadName);
Expand Down
Loading

0 comments on commit ee9ff83

Please sign in to comment.