mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-04 13:47:44 +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],
|
||||
z: trans[2],
|
||||
});
|
||||
} else {
|
||||
tracing::warn!("Failed to find pop range for {id}!");
|
||||
}
|
||||
Ok(mlua::Nil)
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@ use physis::{
|
|||
};
|
||||
|
||||
/// Represents a loaded zone
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
pub struct Zone {
|
||||
pub id: u16,
|
||||
planevent: Option<LayerGroup>,
|
||||
|
|
Loading…
Add table
Reference in a new issue