aboutsummaryrefslogtreecommitdiff
path: root/karld/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <yvchraiqi@protonmail.com>2022-08-16 18:06:43 +0200
committermetamuffin <yvchraiqi@protonmail.com>2022-08-16 18:06:43 +0200
commit32bfbe158ab695c9258c13e6f32a619b780d8930 (patch)
treedcb09c291f31250e0a2ada3f09230fa47cb817b7 /karld/src/main.rs
parent9a306095aa701f372242f3dcbb76a09b4694762d (diff)
downloadkarlender-32bfbe158ab695c9258c13e6f32a619b780d8930.tar
karlender-32bfbe158ab695c9258c13e6f32a619b780d8930.tar.bz2
karlender-32bfbe158ab695c9258c13e6f32a619b780d8930.tar.zst
stuff
Diffstat (limited to 'karld/src/main.rs')
-rw-r--r--karld/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/karld/src/main.rs b/karld/src/main.rs
index 414b1e6..10130d7 100644
--- a/karld/src/main.rs
+++ b/karld/src/main.rs
@@ -1,4 +1,5 @@
#![feature(box_syntax)]
+#![feature(fs_try_exists)]
pub mod condition;
pub mod helper;
@@ -126,6 +127,7 @@ lazy_static::lazy_static! {
}
pub fn handle_packet(client: u32, packet: ServerboundPacket, responder: Sender<ClientboundPacket>) {
+ std::thread::sleep(std::time::Duration::from_millis(75));
match packet {
ServerboundPacket::Sync => {
let _ = responder.send(ClientboundPacket::Sync);