AwesomeQubic
AwesomeQubic
## Valence Version 2e4bc6e04db1f56a694498af5d38681405ff03e8 ## What You Did I was editing NBT data inside player's inventory and it did not update on player's side On server item was present cause...
``` error: Undefined Behavior: constructing invalid value of type &[u8]: encountered a dangling reference (0x20933[noalloc] has no provenance) --> src/main.rs:97:18 | 97 | unsafe { core::slice::from_raw_parts(ptr as *const u8, self.len())...
### What does this PR do? Remove AtomicCell in favour of std's AtomicPointer ### How did you verify your code works?
This codebase uses `AtomicCell
``` Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/w7gm2zyz0k6rdz281809jkpzlf0h3d91-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Running...