Skip to content

Commit

Permalink
Fix 'reached end of stream for null'
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jul 31, 2013
1 parent 227d8c7 commit da1147b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/citizensnpcs/npc/network/EmptySocket.java
Expand Up @@ -14,8 +14,8 @@ public InputStream getInputStream() {

@Override
public OutputStream getOutputStream() {
return new ByteArrayOutputStream(1);
return new ByteArrayOutputStream(10);
}

private static final byte[] EMPTY = new byte[0];
private static final byte[] EMPTY = new byte[20];
}

0 comments on commit da1147b

Please sign in to comment.