mirror of
https://github.com/redstrate/Kawari.git
synced 2025-05-20 01:37:45 +00:00
Add warning message when failing to find poprange
This commit is contained in:
parent
1cdd2d4bff
commit
59815df5c1
3 changed files with 12 additions and 10 deletions
|
@ -237,6 +237,8 @@ impl UserData for Zone {
|
||||||
y: trans[1],
|
y: trans[1],
|
||||||
z: trans[2],
|
z: trans[2],
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
tracing::warn!("Failed to find pop range for {id}!");
|
||||||
}
|
}
|
||||||
Ok(mlua::Nil)
|
Ok(mlua::Nil)
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,7 +8,7 @@ use physis::{
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Represents a loaded zone
|
/// Represents a loaded zone
|
||||||
#[derive(Default)]
|
#[derive(Default, Debug)]
|
||||||
pub struct Zone {
|
pub struct Zone {
|
||||||
pub id: u16,
|
pub id: u16,
|
||||||
planevent: Option<LayerGroup>,
|
planevent: Option<LayerGroup>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue