public Package RespawnHandler(McpeRespawn packet, Player player) { player.SetEffect(new Speed {Level = 1, Duration = Effect.MaxDuration}); //player.SetEffect(new Slowness {Level = 2, Duration = 20}); player.SetEffect(new JumpBoost {Level = 1, Duration = Effect.MaxDuration}); player.SetAutoJump(true); if (player.Level.LevelId.Equals("Default")) { player.Level.CurrentWorldTime = 6000; player.Level.IsWorldTimeStarted = false; } player.SendSetTime(); return packet; }