aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src/container.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-01-10 16:45:27 -0600
committerGitHub <noreply@github.com>2025-01-10 16:45:27 -0600
commit0d16f01571ec8315f3979eae46981e559ade1cf9 (patch)
treeea43c32a57b0e6a67579d75a134dfbc009d09781 /azalea-world/src/container.rs
parent615d8f9d2ac56b3244d328587243301da253eafd (diff)
downloadazalea-drasl-0d16f01571ec8315f3979eae46981e559ade1cf9.tar.xz
Fluid physics (#199)
* start implementing fluid physics * Initial implementation of fluid pushing * different travel function in water * bubble columns * jumping in water * cleanup * change ultrawarm to be required * fix for clippy
Diffstat (limited to 'azalea-world/src/container.rs')
-rw-r--r--azalea-world/src/container.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-world/src/container.rs b/azalea-world/src/container.rs
index 0b3a13fd..7e5927e3 100644
--- a/azalea-world/src/container.rs
+++ b/azalea-world/src/container.rs
@@ -56,14 +56,14 @@ impl InstanceContainer {
let existing = existing_lock.read();
if existing.chunks.height != height {
error!(
- "Shared dimension height mismatch: {} != {}",
- existing.chunks.height, height,
+ "Shared dimension height mismatch: {} != {height}",
+ existing.chunks.height
);
}
if existing.chunks.min_y != min_y {
error!(
- "Shared world min_y mismatch: {} != {}",
- existing.chunks.min_y, min_y,
+ "Shared world min_y mismatch: {} != {min_y}",
+ existing.chunks.min_y
);
}
existing_lock.clone()