Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
Comment thread
dyc3 marked this conversation as resolved.
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/devcontainers/features/java:1": {
"version": "17",
"installGradle": true
}
}
}
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ opt-level = 1

[workspace]
members = ["crates/*", "tools/*"]
# members = ["crates/*", "tools/playground"]
exclude = []
resolver = "2"

Expand Down
3 changes: 2 additions & 1 deletion crates/valence_advancement/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,9 @@ impl<'w, 's, 'a> Encode for AdvancementUpdateEncodeS2c<'w, 's, 'a> {
}
}

// ???? wtf ????
impl<'w, 's, 'a> Packet for AdvancementUpdateEncodeS2c<'w, 's, 'a> {
const ID: i32 = packet_id::ADVANCEMENT_UPDATE_S2C;
const ID: i32 = packet_id::PLAY_ADVANCEMENT_UPDATE_S2C;
const NAME: &'static str = "AdvancementUpdateEncodeS2c";
const SIDE: PacketSide = PacketSide::Clientbound;
const STATE: PacketState = PacketState::Play;
Expand Down
Loading