mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-17 18:34:23 +01:00
Fixed crash upon joining a world
This commit is contained in:
parent
2cae459eb8
commit
aec9692439
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ public class NetworkedReferenceSet<T> {
|
|||
|
||||
ids.stream().filter(id -> !incoming.contains(id)).forEach(this::removeReference);
|
||||
|
||||
boolean[] send = new boolean[0];
|
||||
boolean[] send = new boolean[1];
|
||||
incoming.forEach(kept -> {
|
||||
NetworkedReference<T> i = addReference(kept);
|
||||
send[0] |= i.fromNbt(comp.getCompound(kept.toString()));
|
||||
|
|
Loading…
Reference in a new issue