mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-09 17:19:15 -10:00
Put strip_finalize's doc comment back on it
The new impl block had been inserted between the comment and the function (Dyna's review). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f3dd3a3747
commit
61a8cb83cc
1 file changed
+1
-1
@@ -1460,7 +1460,6 @@ impl Game<'_> {
|
||||
self.save.save_entities(chunks)
|
||||
}
|
||||
}
|
||||
/// Only a mob is finalized; another entity drops the request.
|
||||
impl Game<'_> {
|
||||
/// `Entity::save_nbt` for a mob: a rider is saved inside its root vehicle,
|
||||
/// in the root's chunk; a boat's or cart's passengers inside the vehicle.
|
||||
@@ -1681,6 +1680,7 @@ fn anon_uuid_raw(persist: &EntityMemory, kind: &str, at: Vec3) -> ([i32; 4], Opt
|
||||
.unwrap_or_else(|| (random_uuid(), None))
|
||||
}
|
||||
|
||||
/// Only a mob is finalized; another entity drops the request.
|
||||
fn strip_finalize(tag: &mut Tag) {
|
||||
if let Tag::Compound(c) = tag {
|
||||
c.remove(&"horizon:finalize".into());
|
||||
|
||||
Reference in new issue
Block a user