rename id.rs to packet_id.rs
This commit is contained in:
parent
a664c43887
commit
a7636c4028
@ -2,7 +2,7 @@
|
||||
|
||||
# Использование:
|
||||
#
|
||||
# ./parse_ids.py < Packets.html > src/server/protocol/id.rs
|
||||
# ./parse_ids.py < Packets.html > src/server/protocol/packet_id.rs
|
||||
|
||||
import sys
|
||||
from bs4 import BeautifulSoup
|
||||
|
@ -10,7 +10,7 @@ use crate::{
|
||||
ServerError,
|
||||
data::{ReadWriteNBT, text_component::TextComponent},
|
||||
protocol::{
|
||||
id::{clientbound, serverbound},
|
||||
packet_id::{clientbound, serverbound},
|
||||
*,
|
||||
},
|
||||
};
|
||||
|
@ -10,7 +10,7 @@ use crate::trigger_event;
|
||||
|
||||
use super::{
|
||||
ConnectionState,
|
||||
id::*,
|
||||
packet_id::*,
|
||||
play::{handle_configuration_state, handle_play_state},
|
||||
};
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
pub mod handler;
|
||||
pub mod id;
|
||||
pub mod packet_id;
|
||||
pub mod play;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
@ -13,7 +13,7 @@ use crate::{
|
||||
player::context::ClientContext,
|
||||
};
|
||||
|
||||
use super::id::*;
|
||||
use super::packet_id::*;
|
||||
|
||||
pub fn send_update_tags(client: Arc<ClientContext>) -> Result<(), ServerError> {
|
||||
// TODO: rewrite this hardcode bullshit
|
||||
|
Loading…
x
Reference in New Issue
Block a user