EsotericSoftware / EsotericSoftware/kryonet

2D array is empty when received.

Open
#128 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

I have this packet:

public class PacketHereIsAChunk {
public int x;
public int[][] blocks = new int[Chunk.SIZE_X][Chunk.SIZE_Y];
}
The 2D array is populated before sending. However when the client receives it. All `int`s become default values (`0`).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.