Fix position serialization
This commit is contained in:
parent
18b2641d66
commit
4ac2a8dafa
|
@ -7,6 +7,7 @@ use crate::render;
|
||||||
use crate::shared::Position as BPos;
|
use crate::shared::Position as BPos;
|
||||||
use crate::world;
|
use crate::world;
|
||||||
use cgmath::InnerSpace;
|
use cgmath::InnerSpace;
|
||||||
|
use log::debug;
|
||||||
use steven_protocol::protocol;
|
use steven_protocol::protocol;
|
||||||
use steven_protocol::protocol::Conn;
|
use steven_protocol::protocol::Conn;
|
||||||
|
|
||||||
|
@ -316,9 +317,9 @@ impl ApplyDigging {
|
||||||
state: i32
|
state: i32
|
||||||
) {
|
) {
|
||||||
match state {
|
match state {
|
||||||
0 => println!("Send start dig packet {:?}", target),
|
0 => debug!("Send start dig packet {:?}", target),
|
||||||
1 => println!("Send cancel dig packet {:?}", target),
|
1 => debug!("Send cancel dig packet {:?}", target),
|
||||||
2 => println!("Send finish dig packet {:?}", target),
|
2 => debug!("Send finish dig packet {:?}", target),
|
||||||
n => panic!("Invalid dig state {}", n),
|
n => panic!("Invalid dig state {}", n),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue