aboutsummaryrefslogtreecommitdiff
path: root/karld/src/main.rs
diff options
context:
space:
mode:
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);